Can't compile anything on linux
in
Integration and Hardware
•
2 months ago
I can't compile any code. Is it possible I have some environment variables set wrong?
Steps to reproduce error: extract tarball, run ./processing, gui opens up just fine, try to compile anything:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at processing.mode.java.Compiler.compile(Compiler.java:141)
at processing.mode.java.JavaBuild.build(JavaBuild.java:151)
at processing.mode.java.JavaBuild.build(JavaBuild.java:123)
at processing.mode.java.JavaMode.handleRun(JavaMode.java:114)
at processing.mode.java.JavaEditor$19.run(JavaEditor.java:472)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.batch.Main.compile([Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;Lorg/eclipse/jdt/core/compiler/CompilationProgress;)Z
at org.eclipse.jdt.core.compiler.batch.BatchCompiler.compile(BatchCompiler.java:80)
... 10 more
processing.app.SketchException: Unknown error inside the compiler.
at processing.mode.java.Compiler.compile(Compiler.java:145)
at processing.mode.java.JavaBuild.build(JavaBuild.java:151)
at processing.mode.java.JavaBuild.build(JavaBuild.java:123)
at processing.mode.java.JavaMode.handleRun(JavaMode.java:114)
at processing.mode.java.JavaEditor$19.run(JavaEditor.java:472)
at java.lang.Thread.run(Thread.java:662)
1