Chris Wiita wrote: > I'm installing BASE2 RC2 on a FC5 system and every installation step was > going perfectly until I attempted to run initdb.sh . The following > error gets spat out:
It seems like the Sun's JDK hasn't been installed correctly. The error message comes from a GNU Java runtime, which isn't compatible with Java 1.5. You will probably just have to change your PATH variable to point to the new Java binary. /Nicklas > > >>> > [EMAIL PROTECTED] bin]# ./initdb.sh password > > > java.lang.NoClassDefFoundError: net.sf.basedb.core.Install > at java.lang.Class.initializeClass(libgcj.so.7) > at net.sf.basedb.install.InitDB.main(InitDB.java:64) > Caused by: java.lang.ClassNotFoundException: java.lang.Enum not found in > gnu.gcj.runtime.SystemClassLoader{urls=[file:./,file:../www/WEB-INF/classes/,file:BASE2Install.jar,file:../www/WEB-INF/lib/BASE2Core.jar,file:../www/WEB-INF/lib/BASE2CorePlugins.jar,file:../www/WEB-INF/lib/BASE2Webclient.jar,file:../www/WEB-INF/lib/hibernate3.jar,file:../www/WEB-INF/lib/cglib-2.1.3.jar,file:../www/WEB-INF/lib/asm.jar,file:../www/WEB-INF/lib/asm-attrs.jar,file:../www/WEB-INF/lib/commons-collections-2.1.1.jar,file:../www/WEB-INF/lib/commons-logging-1.0.4.jar,file:../www/WEB-INF/lib/dom4j-1.6.1.jar,file:../www/WEB-INF/lib/ehcache-1.2.jar,file:../www/WEB-INF/lib/jta.jar,file:../www/WEB-INF/lib/antlr-2.7.6.jar,file:../www/WEB-INF/lib/log4j-1.2.13.jar,file:../www/WEB-INF/lib/c3p0-0.9.0.jar,file:../www/WEB-INF/lib/mysql-connector-java-3.1.13-bin.jar,file:../www/WEB-INF/lib/postgresql-8.1-407.jdbc3.jar,file:../www/WEB-INF/lib/jdom.jar,file:../www/WEB-INF/lib/jaxen-1.1-beta-7.jar,file:../www/WEB-INF/lib/saxpath.jar,file:../www/WEB-INF/lib/xerces-2.8.0.jar,file:../ww w/ > > WEB-INF/lib/xml-apis.jar,file:../www/WEB-INF/lib/jai_codec.jar,file:../www/WEB-INF/lib/jai_core.jar,file:../www/WEB-INF/lib/mlibwrapper_jai.jar,file:../www/WEB-INF/lib/jep-2.4.0.jar,file:../www/WEB-INF/lib/jfreechart-1.0.1.jar,file:../www/WEB-INF/lib/jcommon-1.0.0.jar], > > parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} > at java.net.URLClassLoader.findClass(libgcj.so.7) > at java.lang.ClassLoader.loadClass(libgcj.so.7) > at java.lang.ClassLoader.loadClass(libgcj.so.7) > at java.lang.VMClassLoader.defineClass(libgcj.so.7) > at java.lang.ClassLoader.defineClass(libgcj.so.7) > at java.security.SecureClassLoader.defineClass(libgcj.so.7) > at java.net.URLClassLoader.findClass(libgcj.so.7) > at java.lang.ClassLoader.loadClass(libgcj.so.7) > at java.lang.ClassLoader.loadClass(libgcj.so.7) > at java.lang.Class.forName(libgcj.so.7) > at java.lang.Class.initializeClass(libgcj.so.7) > ...1 more > [EMAIL PROTECTED] bin]# > >>> > > It looks to me like a JDK related problem, but I get the exact same > message with the JDK or nothing at all installed (downloading and > installing from http://java.sun.com/javase/downloads/index.jsp - JDK5.0 > U8). An rpm -qa | grep jdk shows the jdk to be installed when it is > (jdk-1.5.0_07-fcs). Does anyone know just what this error is > indicating? Thanks. > > --Chris W > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > The BASE general discussion mailing list > basedb-users@lists.sourceforge.net > unsubscribe: send a mail with subject "unsubscribe" to > [EMAIL PROTECTED] ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ The BASE general discussion mailing list basedb-users@lists.sourceforge.net unsubscribe: send a mail with subject "unsubscribe" to [EMAIL PROTECTED]