hello friends
i am facing problem in installation of java enterprise edition on linux5 os .please help me by sending step by step process of installation .
1. Download the RPM-based (rpm.bin) package from Oracle/Sun and run it. It will unpack RPMs and install them.
2. Download the zip (or tgz?) archive from Oracle/Sun, make a directory to contain it (I recommend /usr/java), and unzip the archive there.
Both give the same net result. RPMs install by default to /usr/java. The main difference is that with RPM, the software is officially accounted for in the RPM database, which is handy for keeping inventory of what's installed on the machine.
Note that neither approach will setup the Sun Java as the default. There's an (incomplete) open-source java that's usually pre-installed with the OS, so if you type "java" at a command prompt without adding the installed JVM or JDK bin directory to your PATH, you'll get that java instead of the "real" java.
rumana amin
Ranch Hand
Joined: May 02, 2010
Posts: 31
posted
0
hello tim
thanks a lot.i have installed rpm.bin on linux.it is successfully loaded.but don't know How to run first java program'hello world'.i'v tried so many times but not succeed.please tell me the write process to satrt running programs .
If you ran the rpm.bin, then it should have placed the JDK at /usr/local/jdk1.6.0_29, and given you a /usr/local/current (? not sure of that, don't have a Red Hat system handy right now) sym link to /usr/java/jdk_1.6.0_29. Also, it should have created a symlink named /usr/ban/java to /usr/java/current/bin/java. Use the ls command to verify this. The run "java -version" to also verify that it tells you the correct version number.