[Camino-users] build error

Peter Neher p.neher at dkfz-heidelberg.de
Mon Jun 4 02:10:06 PDT 2012


Hi,

thanks for your answer. That solved my problem. Thanks!

Best
Peter

On 06/02/2012 02:58 PM, Alexander van Amesfoort - EWI wrote:
> 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
>>> http://www.nitrc.org/mailman/listinfo/camino-users
>> _______________________________________________
>> Camino-users mailing list
>> Camino-users at www.nitrc.org
>> http://www.nitrc.org/mailman/listinfo/camino-users

-- 
Dipl.-Inform. Peter Neher
German Cancer Research Centre
(DKFZ, Deutsches Krebsforschungszentrum in der Helmholtz-Gemeinschaft, Stiftung des öffentlichen Rechts)
Division of Medical and Biological Informatics
Im Neuenheimer Feld 280, D-69120 Heidelberg

Phone: 49-(0)6221-42-3552, Fax: 49-(0)6221-42-2345
E-Mail: p.neher at dkfz-heidelberg.de, Web: www.dkfz.de

The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nitrc.org/pipermail/camino-users/attachments/20120604/43ba07e5/attachment.html


More information about the Camino-users mailing list