[Camino-users] Unable to compile the latest version of camino on mac
Philip A Cook
cookpa at mail.med.upenn.edu
Tue Sep 8 10:41:00 PDT 2015
Hi,
This problem happens on Java 6, I can't figure out why you would see it on Mavericks.
Can you try
javac -version
and see if it is the same as
java -version
The compiler (javac) is what is complaining in the error message below. Occasionally these can be different if someone has installed separate versions, but usually on Macs this doesn't happen
On Sep 1, 2015, at 6:53 PM, Jason <hubbard3 at uoregon.edu> wrote:
> Hello,
>
> I’m trying to install the latest version of camnio. I’m running OSX 10.9 Mavericks, and I just updated java to version 1.8:
>
> java -version
> java version "1.8.0_60"
> Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
> Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
>
> I downloaded the files via git, but when trying to run “make” it fails when trying to build AverageDWI and SelectShells:
>
> make
> javac -classpath . apps/AddNoise.java
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> javac -classpath . apps/BinaryToText.java
> javac -classpath . apps/ClassifiedModelFit.java
> javac -classpath . apps/ConnectivityMatrix.java
> javac -classpath . apps/ConsistencyFraction.java
> javac -classpath . apps/CountSeeds.java
> javac -classpath . apps/DataStats.java
> javac -classpath . apps/DeconvToCamenoFormat.java
> javac -classpath . apps/DT_EigenSystem.java
> javac -classpath . apps/DT_FitMatrix.java
> javac -classpath . apps/DT_ShapeStatistics.java
> javac -classpath . apps/DT_ToCamino.java
> javac -classpath . apps/DT_ToImage.java
> javac -classpath . apps/ElectrostaticSubsets.java
> javac -classpath . apps/EntryPoint.java
> ./apps/AverageDWI.java:87: illegal start of type
> List<Integer> includedMeasurements = new ArrayList<>();
> ^
> ./apps/SelectShells.java:110: illegal start of type
> List<Integer> includedMeasurements = new ArrayList<>();
>
> I’m not a java person so I’m not sure what’s going on here. I noticed that both of these functions are missing details from the “Command Lists” page on the website so I’m assuming that they’re relatively new.
>
> Any help you could provide would be much appreciated!
>
> Best,
> Jason
> _______________________________________________
> Camino-users mailing list
> Camino-users at www.nitrc.org
> http://www.nitrc.org/mailman/listinfo/camino-users
More information about the Camino-users
mailing list