What is the output of: ant -diagnostics
G On Thu, 2007-10-25 at 13:12 +0200, Robert Roggenbuck wrote: > No, I didn't an 'ant clean'. After doing it successful, unfortunately > the problem remains... > > Robert > > Claudia Jürgen schrieb: > > Hi Robert, > > > > did you try ant clean before you did ant fresh_install again? > > > > sunny greetings > > > > Claudia Jürgen > > > > > > Robert Roggenbuck schrieb: > >> I changed the pointer /usr/bin/javac to aim to Java 1.5. Now I get for > >> saying 'javac -version' this: 'javac 1.5.0_11' - but the 'ant > >> fresh_install' stays with its complain about a wrong version number in > >> a class... > >> There must be further things wrong... > >> > >> Desmond Elliott schrieb: > >>> Have you tried using the Sun javac instead of the ECJ javac? > >>> > >>> Robert Roggenbuck wrote: > >>>> Dear All, > >>>> > >>>> I'd like to install DSpace to check whether we can use it for our > >>>> planned OA-Repository. But reaching the point to say 'ant > >>>> fresh_install' I get the following error message where I can not > >>>> figure out the reason: > >>>> > >>>> Buildfile: build.xml > >>>> > >>>> compile: > >>>> > >>>> install_code: > >>>> > >>>> build_wars: > >>>> > >>>> init_configs: > >>>> > >>>> setup_database: > >>>> [java] 2007-10-25 12:36:16,477 INFO > >>>> org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database > >>>> [java] 2007-10-25 12:36:16,536 INFO > >>>> org.dspace.core.ConfigurationManager @ DSpace logging installed > >>>> using log4j.properties > >>>> [java] Exception in thread "main" > >>>> java.lang.UnsupportedClassVersionError: Bad version number in .class > >>>> file > >>>> [java] at java.lang.ClassLoader.defineClass1(Native Method) > >>>> [java] at > >>>> java.lang.ClassLoader.defineClass(ClassLoader.java:620) > >>>> [java] at > >>>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) > >>>> [java] at > >>>> java.net.URLClassLoader.defineClass(URLClassLoader.java:260) > >>>> [java] at > >>>> java.net.URLClassLoader.access$100(URLClassLoader.java:56) > >>>> [java] at > >>>> java.net.URLClassLoader$1.run(URLClassLoader.java:195) > >>>> [java] at > >>>> java.security.AccessController.doPrivileged(Native Method) > >>>> [java] at > >>>> java.net.URLClassLoader.findClass(URLClassLoader.java:188) > >>>> [java] at > >>>> java.lang.ClassLoader.loadClass(ClassLoader.java:306) > >>>> [java] at > >>>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) > >>>> [java] at > >>>> java.lang.ClassLoader.loadClass(ClassLoader.java:251) > >>>> [java] at > >>>> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > >>>> [java] at java.lang.Class.forName0(Native Method) > >>>> [java] at java.lang.Class.forName(Class.java:164) > >>>> [java] at > >>>> org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1607) > >>>> > >>>> > >>>> [java] at > >>>> org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:715) > >>>> > >>>> > >>>> [java] at > >>>> org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:1062) > >>>> > >>>> > >>>> [java] at > >>>> org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:71) > >>>> > >>>> > >>>> > >>>> BUILD FAILED > >>>> /opt/dspace-1.4.2-source/build.xml:293: Java returned: 1 > >>>> > >>>> Total time: 3 seconds > >>>> > >>>> > >>>> Any suggestions? I think its not directly a problem with dspace, but > >>>> with my Java installation. But anyway I would be glad for any hint. > >>>> > >>>> Here some info about my environment: > >>>> > >>>> >uname -a > >>>> Linux OSU458 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007 > >>>> i686 GNU/Linux > >>>> (in fact it's an Ubuntu 7.04) > >>>> > >>>> >javac -version > >>>> Eclipse Java Compiler v_686_R32x, 3.2.2 release, Copyright IBM Corp > >>>> 2000, 2006. All rights reserved. > >>>> > >>>> >java -version > >>>> java version "1.5.0_11" > >>>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03) > >>>> Java HotSpot(TM) Server VM (build 1.5.0_11-b03, mixed mode) > >>>> > >>>> >echo $JAVA_HOME > >>>> /usr/lib/jvm/java-1.5.0-sun > >>>> > >>>> >psql --version > >>>> psql (PostgreSQL) 8.2.5 > >>>> > >>>> Further I installed Tomcat 5.5.25 successfully. > >>>> > >>>> > >>>> Best regards > >>>> > >>>> Robert > >>>> > >>>> > >>> > >> > > > This email has been scanned by Postini. For more information please visit http://www.postini.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

