Login  Register

Problem compilating in Fiji

Posted by GeraldT on Oct 15, 2014; 8:49am
URL: http://imagej.273.s1.nabble.com/Problem-compilating-in-Fiji-tp5010048.html

Hi everybody:

I have lately had lot of problems compiling my plugins in FIJI. Now I cannot even compile them if the classes are in separate files. I think the problem comes because the files are compilated in a temporary folder: "Compiling 1 file in C:\Users\gerald\AppData\Local\Temp\java8777501615926510709" and not where the java files are. It does not happen on another computer where Fiji is installed. I have tried to delete the Fiji.app folder and download a clean version of Fiji, but without success. Anybody has an idea what I can do?

Here is the whole message I get on compiling:
Started CBCT_QA_MOA_A.java at Wed Oct 15 10:24:38 CEST 2014
Compiling 1 file in C:\Users\gerald\AppData\Local\Temp\java8777501615926510709
C:\Users\gerald\AppData\Local\Temp\java8777501615926510709\src\main\java\CBCT_QA_MOA_A.java:55: cannot find symbol
symbol  : class MOA_Phantom
location: class CBCT_QA_MOA_A
        private MOA_Phantom phantom;
                ^
C:\Users\gerald\AppData\Local\Temp\java8777501615926510709\src\main\java\CBCT_QA_MOA_A.java:55: cannot find symbol
symbol  : class MOA_Phantom
location: class CBCT_QA_MOA_A
        private MOA_Phantom phantom;
                ^
1 error
java.lang.RuntimeException: org.scijava.minimaven.JavaCompiler$CompileError: Compile error: 1
        at org.scijava.plugins.scripting.java.JavaEngine.printOrThrow(JavaEngine.java:252)
        at org.scijava.plugins.scripting.java.JavaEngine.compile(JavaEngine.java:211)
        at net.imagej.ui.swing.script.TextEditor$23.run(TextEditor.java:2172)
Caused by: org.scijava.minimaven.JavaCompiler$CompileError: Compile error: 1
        at org.scijava.minimaven.JavaCompiler.call(JavaCompiler.java:80)
        at org.scijava.minimaven.MavenProject.build(MavenProject.java:477)
        at org.scijava.minimaven.MavenProject.build(MavenProject.java:406)
        at org.scijava.minimaven.MavenProject.build(MavenProject.java:391)
        at org.scijava.minimaven.MavenProject.build(MavenProject.java:377)
        at org.scijava.plugins.scripting.java.JavaEngine.compile(JavaEngine.java:206)
        ... 1 more
Compilation finished.

The same files  compile on the other computer. Sadly the one giving me problems is my main workstation.


Greetings
Gerald R. Torgersen
IT-seksjonen,
Det odontologiske fakultet / Faculty of Dentistry
Universitetet i Oslo / University of Oslo

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html