[SOLVED] I need to know where the Sun Java VM is installed
UbuntuThis forum is for the discussion of Ubuntu Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
OK that's what I got.
I'm using Ubuntu 11.04 Gnome 2 BTW
It appears that java is just a file. When I look at places using Nautilus My partition is named "File System" Clicking on File System I get usr/bin and in there is a blue diamond called java. I assume this is the java file that allows me to see java applets. I can't seem to copy and paste the file aleksPack10.jar to this directory however. I tried as default user and root to no avail.
Here is output from java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.2) (6b22-1.10.2-0ubuntu1~11.04.1)
OpenJDK Server VM (build 20.0-b11, mixed mode)
The 'xx' part was an example that you should replace with the actual version you have. Seeing how the alternatives command isn't working on your machine, try 'ls -l /etc/alternatives/java' - this should give you the location of your current jre.
OK at Last! using root I was able to copy the ALEKS file to the java directory. Unfortunately, as I was beginning to suspect, It didn't do any good! Trying to access the sitee just freezes Firefox. Apparently, the file is too old and doesn't work with FF 5 or maybe it's Untutu 11.04 it's having a problem with. These online Edus need to have websites that are capable of interacting with all browsers and OS.
Thanks for all your help!
Everything else has worked with java from the beginning when I first installed Ubuntu. I started with Natty because I had no prior experience with Linux. The only problem was that I didn't know where Java was installed, and not being familiar enough with the OS I didn't know where it was installed, which I needed to know in order to put this rather worthless POC in the same folder. kbp helped tremendously in talking me thru how to find where it was located. So I did learn something. I will leave this thread bookmarked of course so that I can refer back to it if needed. Windows is less obscure(or maybe I'm just more familiar) in how it installs an app. In linux it seems every thing is just thrown together in the same folder, whereas Win is more orderly and groups like components into subfolders under a main folder. Overall, I'm pleased with Ubuntu 11.04 now that I'm running Gnome2, IMO the king of the desktops.