Java error on starting MATLAB R2013a

1 visualización (últimos 30 días)
Tide Gu
Tide Gu el 2 de Jul. de 2013
Comentada: Theo el 7 de Sept. de 2014
Hi all,
Long in short, my MATLAB R2013a continuously starts with error:
Jul 2, 2013 11:21:08 PM com.almworks.sqlite4java.Internal log
INFO: [sqlite] Internal: loaded sqlite4java-osx from /Applications/MATLAB_R2013a.app/java/jarext/sqlite4java/libsqlite4java-osx.jnilib
Jul 2, 2013 11:21:08 PM com.almworks.sqlite4java.Internal log
INFO: [sqlite] Internal: loaded sqlite 3.6.23.1, wrapper 0.2
This happens on my both MACs which running OS X 10.8.4 and OS X 10.9 DP2 respectively. The java version installed on my computers are:
java version "1.6.0_51"
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-456-11M4508)
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-456, mixed mode)
and
java version "1.6.0_51"
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)
respectively.
MATLAB are installed on both computer freshly by default options, and I have checked the permission of the file "libsqlite4java-osx.jnilib" is 555. Can anyone help me to resolve this problem? Many thanks!
BTW: I always choose to ignore this error and all MATLAB functions seems running seamlessly.

Respuesta aceptada

Friedrich
Friedrich el 9 de Jul. de 2013
Hi,
what does this give for you
>>org.apache.log4j.Logger.getLogger('com.almworks.sqlite4java').getLevel
ans =
[]
For me its empty. Maybe you have set some loglevel at some point? In the case its set to something disable it again using:
a = org.apache.log4j.Logger.getLogger('com.almworks.sqlite4java')
a.setLevel(org.apache.log4j.Level.OFF)
  4 comentarios
Huang
Huang el 27 de En. de 2014
it dose work , Thanks
Theo
Theo el 7 de Sept. de 2014
I can chime in with another confirmation that Friedrich's tip fixes it.

Iniciar sesión para comentar.

Más respuestas (2)

Dimitry Markman
Dimitry Markman el 7 de Jul. de 2013
Hi, it's not an error. It's just an info log. I think you can safely ignore it
  1 comentario
Tide Gu
Tide Gu el 9 de Jul. de 2013
Yes I see that I can ignore it. But the red thing does not look nice. Anyway to get rid of it?

Iniciar sesión para comentar.


maryam
maryam el 6 de Nov. de 2013
the problem comes from that there is a deleted file which is still in your matlab path. so, set the matlab path into its default. you may after add the other path you need to use as well. then restart your matlab and problem is solved.
  2 comentarios
Kai
Kai el 25 de Feb. de 2014
truly works, all matters solved
Kai
Kai el 6 de Mayo de 2014
Editada: Kai el 6 de Mayo de 2014
very helpful! The same matter solved.

Iniciar sesión para comentar.

Categorías

Más información sobre Java Package Integration en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by