showing java is installed
I followed the wikihow 18 steps and installed Oracle Java 7 JKE and JRE. I verified it is right in FireFox and did the Java -version command in a terminal window. All is OK. However the software center does not show it installed. How do I solve this? My next question is how do I use/start/run the JDK to write Java applicaitons? I am running Ubuntu 11.10.
I did multiple searches on the forum and the only thing I could find was all the steps which I have already completed to install. Then test the install. But nothing to answer my two question. I am a novice users so make answer complete and as simple as possible.
thanks in advance
Re: showing java is installed
The Ubuntu Software Center only show packages installed via the Package Manager. Since you managed to install the Oracle JDK manually it is not tracked by the Software Manager.
To begin writing Java applications just open an editor of you favour. For example you couldt use Gedit.
Write any Java Code you want. The file name is the classname.java. Thats a requirement of Java. Now run the Terminal (Ctrl+Alt+T) and cd into the folder where you saved the file. Now type
in the terminal and submit. Make sure your class contains a main() method.
Last edited by roudy1989; October 28th, 2012 at 04:04 PM.
Reason: Adding code-Tags