Computer Webmaster Gaming Console Graphics Forum

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.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Computer Forums > Operating Systems And Software > Linux
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

Google
Reply
 
LinkBack Thread Tools Display Modes
Old 09-02-2007, 6:58 AM   #1
neta
Service Man
 
neta's Avatar
 
Join Date: Aug 2007
Location: sweden
Posts: 295
My Photos: (2)
iTrader: (0)

Banked:
MK Cash: $9.90

I am Worth:
MK Cash: $0.19
Donate


neta will become famous soon enoughneta will become famous soon enough
Question Installing Java on your Linux box

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
neta is online now  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Featured Websites
Free Space
Free Space
Free Space Free Space
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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




All times are GMT +1. The time now is 2:16 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98