Java error on starting MATLAB R2013a

5 次查看(过去 30 天)
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.

采纳的回答

Friedrich
Friedrich 2013-7-9
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 个评论
Theo
Theo 2014-9-7
I can chime in with another confirmation that Friedrich's tip fixes it.

请先登录,再进行评论。

更多回答(2 个)

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

请先登录,再进行评论。


maryam
maryam 2013-11-6
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 个评论
Kai
Kai 2014-2-25
truly works, all matters solved
Kai
Kai 2014-5-6
编辑:Kai 2014-5-6
very helpful! The same matter solved.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Java Package Integration 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by