Hi Mark,
> On Thu, 9 Apr 2015, Jean-Baptiste Marquette wrote:
>
>> I have an issue with stilts on my Mac Pro under the latest 10.10.3 OS X version:
>>
>> stilts tcopy ifmt=ascii ofmt=tst in=VVB070400_0001J0001.calib.dat out=VVB070400_0001J0001.calib.tst
>> Exception in thread "main" java.lang.UnsupportedClassVersionError: uk/ac/starlink/ttools/Stilts : Unsupported major.minor version 52.0
>> at java.lang.ClassLoader.defineClass1(Native Method)
>> at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
>> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
>> at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
>> at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
>>
>> I use Java 1.8.0_31
>
> Probably you don't :-)
>
> This error message is telling you that a java runtime earlier than
> java 1.8 is trying to execute some java classfiles that were compiled
> using java 1.8. I haven't looked at the details of the starlink
> starjava installation, but probably if you look at the script that
> your 'stilts' invocation is running, you'll find that one way or
> another it's picking up an earlier java version. Presumably
> it should be picking up the Java Runtime Environment that's
> distributed with the starlink package (/star/java/jre/bin/java?).
> But if you can point it at your java 1.8.0_31 that should be OK as well.
It turns out that your version of starjava fixes the issue.
Cheers,
JB
----
Starlink User Support list
For list configuration, including subscribing to and unsubscribing from the list, see
https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STARLINK
|