SV: [mythtv-users] OT? : Java < projectx < mythburn
Neil Cronin
mythtv at rackle.com
Wed Sep 21 06:58:52 UTC 2005
I don't know much about ProjectX, but I do know about java. When
you're in the directory that has build.sh, what's the output of
echo $JAVA_HOME
echo $CLASSPATH
echo $PATH
which java
which javac
java -version
javac -version
ls -la lib
-n
On 9/20/05, Marius Schrecker <marius at schrecker.org> wrote:
>
> >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 at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>
More information about the mythtv-users
mailing list