![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| Service Man ![]() | Java is a fairly important technology to have on any operating system. Countless Web sites make use of Java or JavaScript; programs such as Zend Studio are Java applications that require the Java Runtime Environment; and many developers develop in Java. Unfortunately, most Linux distributions do not ship with Java due to its license fee. Certain Java implementations are free, such as GCJ, or the GNU Compiler for Java, but it isn't Sun's Java implementation, which is arguably the better of the two. Luckily, installing Java on your Linux system is extremely simple. Visit the Java download Web site and select the operating system you'd like to download for (Linux, Linux AMD64, Solaris, etc.). Once you've chosen the download file—either a self-extracting executable or a self-extracting RPM file—you can install it. # mkdir -p /usr/local/java # cd /usr/local/java # mv /path/to/jre-1_5_0_05-linux-amd64.bin . # chmod u+x jre-1_5_0_05-linux-amd64.bin # ./jre-1_5_0_05-linux-amd64.bin The installation must be done as root if you want the Java installation to be site-wide; if you want it just for yourself, you can extract the package in ~/bin/java or some other appropriate location. In the above, the JRE is installed in /usr/local/java/jre1.5.0_05/. As a quick test, run the java executable # cd jre1.5.0_05/bin # ./java -version To make Java available to all users, add it to the default PATH settings by editing /etc/profile and adding: PATH=$PATH:/usr/local/java/jre1.5.0_05/bin JAVA_HOME=/usr/local/java/jre1.5.0_05 export $PATH $JAVA_HOME | ||
| | |
| Featured Websites | ||||
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Installing on LINUX | Jared | Database | 3 | 07-01-2007 8:34 PM |
| Installing Apache & PHP on Linux | Ian.H [dS] | PHP | 2 | 07-01-2007 2:54 PM |
| Installing Apache & PHP on Linux | Darcy Sylvester | PHP | 0 | 07-01-2007 2:52 PM |
| installing for mssql on linux/php? | J.O. Aho | PHP | 1 | 07-01-2007 2:18 PM |
| Java to C/C++ | Infiniti | Software Programming | 3 | 06-12-2007 8:47 PM |
| Featured Websites | ||||
|