[Camino-users] build error

Alexander van Amesfoort - EWI A.S.vanAmesfoort at tudelft.nl
Sat Jun 2 05:58:09 PDT 2012


Hello,

You're trying to run classes compiled with Java 1.7 with a java runtime <1.7.
Either recompile all camino sources with your own java compiler, or update your java installation to 1.7, or if you already have 1.7, set JAVA_HOME to the 1.7 home dir.

Regards,
Alexander

________________________________
From: camino-users-bounces at www.nitrc.org [camino-users-bounces at www.nitrc.org] on behalf of Peter Neher [p.neher at dkfz-heidelberg.de]
Sent: Thursday, May 31, 2012 11:52 AM
To: camino-users at public.nitrc.org
Subject: Re: [Camino-users] build error

Thanks, the current checkout builds just fine. But I directly stumbled upon the next problem. I was trying to convert my FSL bvals and bvecs file to a camino scheme file using fsl2scheme. The following error occurred:

fsl2scheme -bvecfile bvecs -bvalfile bvals > camino.scheme
Exception in thread "main" java.lang.UnsupportedClassVersionError: apps/EntryPoint : Unsupported major.minor version 51.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: apps/EntryPoint. Program will exit.

Any suggestions?

Peter

On 05/30/2012 06:30 PM, Philip A Cook wrote:

Hi,

I think the latest version should work, I just downloaded and compiled r1052 successfully. You can get it through SVN or by downloading the nightly package.


Phil

On May 30, 2012, at 3:03 AM, Peter Neher wrote:



Hi all, I was just trying to compile the latest camino release under Ubuntu 12.4 and got the following error:

javac -classpath . apps/EntryPoint.java
./apps/SphFuncBitMap.java:684: error: cannot access SphericalFunction
    private static char[][][] getMiniFigXY(SphericalFunction s, double[][] pointSet, boolean minmaxnorm) {
                                           ^
  bad class file: ./sphfunc/SphericalFunction.class
    class file contains wrong class: sphfunc.SphericalPointSet
    Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error
make: *** [apps/EntryPoint.class] Error 1

Can anyone help me with this issue? Or should I try to build the latest camino version available via svn?

Best
Peter
_______________________________________________
Camino-users mailing list
Camino-users at www.nitrc.org<mailto:Camino-users at www.nitrc.org>
http://www.nitrc.org/mailman/listinfo/camino-users


_______________________________________________
Camino-users mailing list
Camino-users at www.nitrc.org<mailto:Camino-users at www.nitrc.org>
http://www.nitrc.org/mailman/listinfo/camino-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nitrc.org/pipermail/camino-users/attachments/20120602/8bf9c2db/attachment.html


More information about the Camino-users mailing list