Guest yonatan.eisenberg Posted October 10, 2005 Report Share Posted October 10, 2005 Concise but detailed: I go to java.com I get the Linux AMD 64 RPM (I have an ASUS A6K-Q002H laptop with a Turion MT30 B) ) I follow the installation instructions to the letter... and then it gets weird: I have a /usr/java/ directory... That's strange, the java.com website tells me I don't have it... Anyway, I press on with the installation: [user@box ~]$su - Password: [root@box ~]#mv ~user/Desktop/jre-1_5_0_04-linux-amd64-rpm.bin /usr/java/ [root@box ~]#cd /usr/java [root@box java]#chmod a+x jre-1_5_0_04-linux-amd64-rpm.bin [root@box java]#./jre-1_5_0_04-linux-amd64-rpm.bin [root@box java]#urpmi jre-1_5_0_04-linux-amd64.rpm and I get the following message: The package(s) are already installed The following package names were assumed: jre so I look at where I am and what's going on around me: [root@box java]# pwd /usr/java [root@box java]# ls -l total 30992 lrwxrwxrwx 1 root root 25 Oct 8 10:16 j2re1.4.2 -> ../../usr/lib64/jre-1.4.2/ lrwxrwxrwx 1 root root 25 Oct 8 10:16 jre1.4.2 -> ../../usr/lib64/jre-1.4.2/ -rw-r--r-- 1 root root 15956589 Jun 3 10:36 jre-1_5_0_04-linux-amd64.rpm -rwxrwxr-x 1 user user 15736735 Oct 10 10:02 jre-1_5_0_04-linux-amd64-rpm.bin* So there IS a javainstallation there already.... but the java command isn't there: [root@ubertronmt30 java]# java -version -bash: java: command not found so I get into the jre1.4.2 directory, find out there's a bin subdirectory, get into that, see there is an executable java file there and execute it with ./java -version (I want to know what I have). I also cheat a little in the code to save space... [root@ubertronmt30 java]# cd jre1.4.2/bin/ [root@ubertronmt30 bin]# ./java -version java version "1.4.2-02" Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-02) Java HotSpot(TM) 64-Bit Server VM (build Blackdown-1.4.2-02, mixed mode) So I have java, albeit not the right version... and here are the questions: 1. Why does urpmi tell me that jre1.5 is installed when all I can find is jre1.4 2. How can I get jre1.5 installed? Thanks for trawling through this- I thought I might as well give you all the info straight up if I want an straight answer back. [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
neddie Posted October 10, 2005 Report Share Posted October 10, 2005 Hi, and welcome to the group! I won't be able to help too much I'm afraid as I haven't got 1.5 and I haven't got 64-bit. But I have got blackdown's 1.4.2 and it's pretty hard to get that accidentally - either you or someone else must have manually downloaded that from blackdown.org and installed it. And I see that blackdown haven't got 1.5 yet, so that's not an option. One question - why did you use urpmi to try to install the rpm, instead of the rpm command? And what do you see if you type "rpm -qa | grep jre" ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.