+ 1
How to run java program on Ubuntu 16.0.4 LTS?
I have some trouble with opening my java program on Ubuntu
2 Answers
+ 2
Have you installed java? If not:
sudo apt-get install openjdk-7-jdk
Then to open your java projects type "java" "class name"
You could just install eclipse or netbeans and run your projects in them.
Hope this helps :)
0
you have to edit the system path file too. follow these steps:
http://m.wikihow.com/Install-Oracle-Java-JDK-on-Ubuntu-Linux