We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi there,
I have a problem running processing in linux. Ubuntu is my only OS, so no other systems installed (Winodws or similar). I belive I have Java correctly installed. If I enter echo $JAVA_HOME, I get the right answer -> /usr/lib/jvm/.
If I check in console the java version I get this java version "1.7.0_95" OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-0ubuntu0.14.04.2) OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
If I check javac version -> javac 1.7.0_95
If I try to compile a simple sketch in processing, I get Error 2 -> JAVA_HOME is set to: /home/gorazd/Dokumenti/processing-3.0b5/java
I'm trying to figure it out why is Processing trying to get java from other location ?
Update it if necessary, or manually execute the following command: /home/gorazd/Dokumenti/processing-3.0b5/java/bin/keytool -genkey -alias AndroidDebugKey -keyalg RSA -dname "CN=Android Debug,O=Android,C=US" -validity 10950 -keypass android -keystore
This statement fails miserably, there is no keytool in this directory.
I have to state, that I'm not a Linux power user - I'm still a rookie and my linux knowledge is very limited. So If there is anyone kind enough to give me some step by step answer / help I would very appreciate.
Regards.
Answers
Hi, I have managed to get things to work!
Update it if necessary, or manually execute the following command: /home/gorazd/Dokumenti/processing-3.0b5/java/bin/keytool -genkey -alias AndroidDebugKey -keyalg RSA -dname "CN=Android Debug,O=Android,C=US" -validity 10950 -keypass android -keystore
Had to edit the path to the keytool in my java folder.
Now it's time to have some fun!