>Marius Schrecker wrote:
>
>> No, I haven't got that far. Still trying to build.
>>
>>I fixed the problem with build.sh not finding jar and javac
executables by >>exporting the PATH, JDK_HOME and JAVA_HOME variables,
and am now getting a >different error with build.sh not finding class
definitions (as expected as >>I have no idea what to set as the
CLASSPATH).
>>  
>>
>You don't need to set the CLASSPATH if you're using "java -jar" to 
>execute the "executable JAR file."  The JAR is the CLASSPATH.  What 
>command line are you using to start ProjectX?  What's the exact error 
>message you're getting?

I'm trying to build ProjectX, so there is still no ProjectX.jar file.
The error comes when I either run the build.sh script in the top level
ProjectX0.9.0 source directory, or the line (from build.sh):

# javac -encoding "ISO-8859-1" -O -g:none -classpath
lib/commons-net-1.3.0.jar:lib/jakarta-oro-2.0.8.jar -d build
@sources.lst

the local -classpath is correct and points to where
commons-net-1.3.0.jar and jakarta-oro-2.0.8.jar are in the ProjectX
sources.

This gives the error:

Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object

I've tested java with other commands, and these give the same error, so
it's a problem with my java setup and not with ProjectX specifically.

Thanks

Marius

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to