FS#44164 - [processing] 2.2 cannot run due to missing dependecies

Attached to Project: Community Packages
Opened by Geoffroy (damarusama) - Thursday, 12 March 2015, 17:35 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 26 March 2015, 19:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Processing 2.2 cannot run any sketches due to missing Java librarie:

incorrect classpath: /home/user/GNUstep/Library/Libraries/Java
incorrect classpath: /usr/lib/GNUstep/Libraries/Java


Additional info:
* package version(s)
2.2.1-3


Steps to reproduce:

Start processing, try to run a sketch - even an empty sketch will produce the error.
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Thursday, 26 March 2015, 19:16 GMT
Reason for closing:  Not a bug
Additional comments about closing:  CLASSPATH-related
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 18 March 2015, 10:15 GMT
Hi, thanks for reporting.

I think this problem depends on the java environment you have installed. Processing runs fine here. Sketches too. I'm using OpenJDK.

What does `java -version` output on your system?
Comment by Geoffroy (damarusama) - Wednesday, 18 March 2015, 18:50 GMT
Thanks for checking

)java -version ~
openjdk version "1.8.0_31"
OpenJDK Runtime Environment (build 1.8.0_31-b13)
OpenJDK 64-Bit Server VM (build 25.31-b07, mixed mode)
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 24 March 2015, 17:55 GMT
Running sketches in Processing works fine here, with both these java versions:

java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (Arch Linux build 7.u75_2.5.4-1-x86_64)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)

openjdk version "1.8.0_40"
OpenJDK Runtime Environment (build 1.8.0_40-b20)
OpenJDK 64-Bit Server VM (build 25.40-b23, mixed mode)

~/GNUstep/Libraries/Java and /usr/lib/GNUstep/Libraries/Java does not exist on my system.

CLASSPATH is empty on my system. What is the output of "echo $CLASSPATH"?
Comment by Geoffroy (damarusama) - Tuesday, 24 March 2015, 18:04 GMT
echo $CLASSPATH ~
/home/damaru/GNUstep/Library/Libraries/Java:/usr/lib/GNUstep/Libraries/Java

export CLASSPATH="" fixed up the problem, thanks for following up - not a bug afterall.

Not sure why my CLASSPATH is set, nothing in my zshrc creates that.

Comment by Alexander F. Rødseth (xyproto) - Tuesday, 24 March 2015, 22:42 GMT
It could be set in /etc/environment, or somewhere else. You could install the_silver_searcher and run "ag /etc CLASSPATH" as root, to see if anything show up.

Loading...