once you have it as an RPM, you can install it using the command
rpm -ivh j2sdk.... ( I think, its been a while since I used redhat)
You don't need to execute the rpm file itself you just use the rpm program to install it for you.
CP
I remember installing this when I ran Limewire under RH 7.3, but I am having problem with this one.
I've put the the file: j2sdk-1_4_1_02-linux-i586-rpm.bin under /usr/loca/jdk
I type sh ./j2sdk-1_4_1_02-linux-i586-rpm.bin
I answer yes to the question and then this file appears
j2sdk-1_4_1_02-fcs-linux-i586.rpm, this file shows -rw-r--r--, should I chmod u+x for it so I can execute it as root.
And yes I am doing all of this as root.
thanks
once you have it as an RPM, you can install it using the command
rpm -ivh j2sdk.... ( I think, its been a while since I used redhat)
You don't need to execute the rpm file itself you just use the rpm program to install it for you.
CP
[quote author=CP link=board=2;threadid=6857;start=0#64017 date=1050722784]
once you have it as an RPM, you can install it using the command
rpm -ivh j2sdk.... ( I think, its been a while since I used redhat)
You don't need to execute the rpm file itself you just use the rpm program to install it for you.
CP
[/quote]
Ok, when doing rpm -qa | grep j2sdk, I get a response showing that the package is installed.
I am going to teach myself java, do you know of a simple java program that I could do to test this.
Also, I am interested in running Eclipse to play around with. Any thoughs there?
thanks
type java on the command line.
[quote author=trickster link=board=2;threadid=6857;start=0#64034 date=1050769071]
type java on the command line.
[/quote]
When as normal user and as root, when typing java, I get:
-bash: java: command not found
Here is another thing. When slocate for javac, I found gccjava and then a directory under /usr/java that has the following:
-rwxr--r-- 1 root root 110 Apr 19 09:52 bin
drwxr-xr-x 6 root root 4096 Apr 13 22:46 j2re1.4.1_02
drwxr-xr-x 8 root root 4096 Apr 18 23:08 j2sdk1.4.1_02
drwxr-xr-x 9 root root 4096 Apr 13 17:19 jdk1.3.1_07
Will this cause any problems?
thanks
Did you ever get this working? There's a PET for installing Java so you shouldn't have any problems there. I'm not quite sure what .rpm install you used but it doesn't really matter so long as you're using Sun's JDK. It's the standard and is supposedly the best one to learn with.
Getting Eclipse to work doesn't take much more work but getting it to launch can confuse some users (it did me anyway).
Let us know if you're still having problems.
Bookmarks