Results 1 to 7 of 7
- 03-19-2011, 04:03 PM #1
Member
- Join Date
- Mar 2011
- Posts
- 3
- Rep Power
- 0
Why am I having trouble install Java on Linux?
I rented out a Dedicated Server for 1 month (Linux/CentOS 5 - 64Bit) and I guess it came with Java 1.5 automaticlly installed on it, which is the wrong version, as I need Java 1.6
So, I need to install Java 1.6 on Linux and I am having trouble doing so.
------------
Here are the instructions to download/install Java on Linux:
http://www.java.com/en/download/help...selfextracting
I downloaded Linux (Self-Extracting File):

I then I made the file executable:

Then I type "chmod a+x jre-6u<version>-linux-i586.bin" in terminal and it says "bash: version: No such file or directory":

What am I probably doing something wrong, but don't know.
Any help would be highly appreciated, thank you!Last edited by Salad Tosser; 03-19-2011 at 04:15 PM.
- 03-19-2011, 05:39 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,603
- Blog Entries
- 7
- Rep Power
- 17
Change "<version>" to "24" because that's the version you have just installed.
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 03-19-2011, 05:48 PM #3
And don't double post the same question again.
db
- 03-19-2011, 08:09 PM #4
Member
- Join Date
- Mar 2011
- Posts
- 3
- Rep Power
- 0
- 03-20-2011, 03:24 AM #5
Member
- Join Date
- Mar 2009
- Posts
- 70
- Rep Power
- 0
Can you post what the install said? Did you try rebooting?
- 03-20-2011, 04:19 AM #6
Check your PATH environment variable.
db
- 03-20-2011, 06:38 AM #7
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,603
- Blog Entries
- 7
- Rep Power
- 17
When people rob a bank they get a penalty; when banks rob people they get a bonus.
Similar Threads
-
any java sdk no need to install??
By jordan2816 in forum New To JavaReplies: 7Last Post: 02-21-2011, 07:34 AM -
how do I install windows"javac" jdk to usb drive using linux (ubuntu)
By rhythmiccycle in forum New To JavaReplies: 0Last Post: 01-04-2011, 07:44 PM -
how can i install latest version of NetBeans on debian linux?
By ali zi zeperto in forum NetBeansReplies: 1Last Post: 12-18-2010, 04:44 PM -
trouble with images .jpg's in linux
By JohnST in forum New To JavaReplies: 1Last Post: 06-02-2010, 03:24 PM -
[SOLVED] Windows Linux conflict - TrayIcon image not display in Linux
By Eranga in forum Advanced JavaReplies: 6Last Post: 04-08-2009, 04:05 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks