On 05/16/2014 10:42 PM, Gryllida wrote: > Hi Jingjing, > > On Sat, 17 May 2014, at 8:08, Jingjing Li wrote: >> Dear All, >> >> I just installed the latest version of JabRef (2.10b2) on Ubuntu 14.04 >> Trusty using the default package management tool apt-get. However JabRef >> would not start: It reported the following warnings and errors: @jingjing, can you confirm whether you can run any java-gui program at all? For example Jedit. I do not have such problem for 2.10b2, or b3 or latest 2.10 on Ubuntu 14.04. All jars were directly downloaded from sourceforge. >> >> log4j:WARN No appenders could be found for logger >> (org.java.plugin.ObjectFactory). >> log4j:WARN Please initialize the log4j system properly. >> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for >> more info. >> Found 2 plugin(s): >> - net.sf.jabref.core >> (file:/home/jingjing/Downloads/jabref-2.10/src/plugins/net.sf.jabref.core/plugin.xml) >> - net.sf.jabref.export.misq >> (file:/home/jingjing/Downloads/jabref-2.10/src/plugins/net.sf.jabref.export.misq/plugin.xml) >> >> Unable to create graphical interface. >> >> I did some search and noticed that "Unable to create graphical >> interface" is a common error related to openjdk java and we should >> switch to Oracle Java. But I am indeed using Oracle java. A "java >> -version" command returns the following: >> >> java version "1.7.0_55" >> Java(TM) SE Runtime Environment (build 1.7.0_55-b13) >> Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode) >> >> >> And a "sudo update-alternatives --config java" returns the following: >> >> * 0 /usr/lib/jvm/java-7-oracle/jre/bin/java 1073 auto mode >> 1 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 >> manual mode >> 2 /usr/lib/jvm/java-7-oracle/jre/bin/java 1073 manual >> mode >> >> Any ideas? Many thanks.
Can you post the result of `dpkg -l|grep -i jre`? Usually it should runs on both oracle/openjdk VM. But I suspects it depends on different builds. here is what I have: $ java -version java version "1.7.0_55" OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1) OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode) So probably, the oracle-java is more likely the one causing the problem. Can you switch it back to openjdk and try again? >> >> JL > > It appears to need openjdk-6-jre or sun-java6-jre. When I try on Ubuntu, it > installs openjdk-6-jre by default. > @Gryllida, this is NOT true, I am using java7 and I do not have java6 on my system. It seems like something else is wrong on his system. > Gryllida > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Jabref-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jabref-users > ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Jabref-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jabref-users
