running Java program
Posted: 08 Sep 2014, 20:21
I am trying to run a Java program, and the documentation says it runs well with openJDK. On my linuxmint machine, I can just double click on an sh file and the program executes without installing anything beyond what is there already.
So on Porteus 3.01 I installed gcc-java-4.8.2... But when I try to run the sh file nothing happens. And when I try executing the program in a terminal I get the following message:
Error: JAVA_HOME is not defined correctly.
We cannot execute java
Can you help me?
So on Porteus 3.01 I installed gcc-java-4.8.2... But when I try to run the sh file nothing happens. And when I try executing the program in a terminal I get the following message:
Error: JAVA_HOME is not defined correctly.
We cannot execute java
Can you help me?