It builds fine, but when I run the program, I get this:
Unable to find a $JAVA_HOME at "/usr", continuing with system-provided
Java...
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad
version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
This is on
Package manager version: 0.29.99.cvs
Distribution version: selfupdate-cvs Fri Mar 26 22:59:24 2010, 10.5,
powerpc
with java installed:
i system-java 1.6.0-1 [virtual package representing Java 1.6.0]
i system-java-dev 1.6.0-1 [virtual package representing Java SDK
1.6.0]
i system-java14 1.4.2-1 [virtual package representing Java 1.4.2]
i system-java14-dev 1.4.2-1 [virtual package representing Java
1.4.2 development headers]
i system-java15 1.5.0-1 [virtual package representing Java 1.5.0]
i system-java15-dev 1.5.0-1 [virtual package representing Java
1.5.0 development headers]
i system-java16 1.6.0-1 [virtual package representing Java 1.6.0]
i system-java16-dev 1.6.0-1 [virtual package representing Java
1.6.0 development headers]
i system-java3d 0-1 [virtual package representing Java3D]
i system-javaai 0-1 [virtual package representing Java Advanced
Imaging]
- Koen.
On Mar 26, 2010, at 3:33 PM, Hariharan B wrote:
> Hello Koen,
>
> As per your suggestion, I have added the depends field. Please check
> and notify any changes needed.
>
> Thank you
>
>
> On Fri, Mar 26, 2010 at 11:38 PM, Koen van der Drift
> <[email protected]
> > wrote:
> <This is assuming that Java 1.6 is installed as /usr/bin/java>
>
> Unfortunately you cannot assume that java is installed. So you need to
> include a dependency on java. There are other packages that depend on
> java that you can use as an example.
>
> - Koen.
>
>
> On Fri, Mar 26, 2010 at 1:47 AM, Hariharan B <[email protected]>
> wrote:
> > Hi,
> >
> > The link to the info file is:
> >
> > http://sourceforge.net/tracker/?func=detail&aid=2961903&group_id=17203&atid=414256
> >
> >
> > Thanks
> >
> > On Fri, Mar 26, 2010 at 10:46 AM, Hariharan B
> <[email protected]> wrote:
> >>
> >> Hi,
> >>
> >> I submitted my info file of ExTeX after making changes that was
> suggested
> >> by nieder. Can anyone please review it?
> >>
> >> Thank you
> >> --
> >> Regards,
> >>
> >> Hariharan B
> >> International Institute of Information Technology, Bangalore
> >>
> >
> >
> >
> > --
> > Regards,
> >
> > Hariharan B
> > International Institute of Information Technology, Bangalore
> >
> >
> >
> ------------------------------------------------------------------------------
> > Download Intel® Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > _______________________________________________
> > Fink-devel mailing list
> > [email protected]
> > http://news.gmane.org/gmane.os.apple.fink.devel
> > Subscription management:
> > https://lists.sourceforge.net/lists/listinfo/fink-devel
> >
>
>
>
> --
> Regards,
>
> Hariharan B
> International Institute of Information Technology, Bangalore
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel