Thanks Ambrogio! I fixed this problem and improved the warning message. Please give it another spin.
Can somebody also try with a different JRE from Classpath/GCJ, Kaffe or Blackdown? Thanks, Christopher @Egon: Have a look at https://jabref.svn.sourceforge.net/svnroot/jabref/trunk/jabref/src/java/net/sf/jabref/JabRefMain.java which does all the magic. Maybe you can use this for Bioclipse as well. To compile it, I have modified the build.xml like this: <target name="compile" depends="generate"> <mkdir dir="${build.classes}" /> <javac debug="on" deprecation="on" destdir="${build.classes}" source="1.5" target="1.5"> <src path="${java.dir}" /> <exclude name="tests/**" /> <exclude name="**/JabRefMain.java" /> <classpath refid="classpath" /> </javac> <javac debug="on" deprecation="on" destdir="${build.classes}" source="1.4" target="1.4"> <src path="${java.dir}" /> <include name="**/JabRefMain.java" /> </javac> </target> On Mon, 10 Sep 2007 09:13:09 +0200, Ambrogio Oliva <[EMAIL PROTECTED]> wrote: > > Message body follows: > > Hi Christopher, > I've just compiled JabRef (with JDK 1.6) and tested with JRE > 1.4.2. > Result: does not work. > Reason: method java.lang.String.contains does not exist in > Java 1.4.2. > > Details: > > C:\Eclipse\workspace\Jabref>java -version > java version "1.4.2_04" > Java(TM) 2 Runtime Environment, Standard Edition (build > 1.4.2_04-b05) > Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) > > C:\Eclipse\workspace\Jabref>cd build\lib > > C:\Eclipse\workspace\Jabref\build\lib>java -jar JabRef-2.3b.jar > Exception in thread "main" java.lang.NoSuchMethodError: > java.lang.String.contains(Ljava/lang/CharSequence;)Z > at net.sf.jabref.JabRefMain.main(JabRefMain.java:37) > > > Have a nice day > > Ambrogio > > > -- > This message has been sent to you, a registered SourceForge.net user, > by another site user, through the SourceForge.net site. This message > has been delivered to your SourceForge.net mail alias. You may reply > to this message using the "Reply" feature of your email client, or > using the messaging facility of SourceForge.net at: > https://sourceforge.net/sendmessage.php?touser=332440 > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Jabref-devel mailing list Jabref-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jabref-devel