• Post Reply Bookmark Topic Watch Topic
  • New Topic

Commands n procedure RedHat9.0  RSS feed

 
Raja Sagar Panamgipalli
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
I have jus downloaded j2sdk1.4 rpm file ..i need a command to install the same.plz help me how to install the same with a proper command on RedHat Linux 9.0.
I'm completely new to this OS .
same is the case with netbeansIDE ..unfortunately i didn't find an appropriate link on the installation procedure, on Linux.
Thanks a million
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Posts: 12156
256
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Raja,
You are better off asking this question in the JavaRanch Linux / UNIX forum - there are likely to be more people there who will know the answer to your question.
From memory, what you download is a self extracting shell script. Run the following commands on it:

(Obviously use the name of the file you downloaded).
That will display the license agreement. When you have read the license agreement, you will be asked to agree to it. Type "yes" and it will extract the real RPM file.
You can then install it using the standard "rpm -i <rpm filename>" command.
I have moving this to the Linux/Unix forum. You can follow up on it here.
Regards, Andrew
 
Raja Sagar Panamgipalli
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Andrew
did u mean the following:
chmod +x<j2sdk-1_4_2-nb-3_5_1-bin-linux.bin>.
./<j2sdk-1_4_2-nb-3_5_1-bin-linux.bin>

in the same line..or one after the other. Are we trying to change the access here.
It'snt working or i didn't get your intention properly.
Could please you be more specific....
Thank you..
 
Raja Sagar Panamgipalli
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Andrew
did u mean the following:
chmod +x<j2sdk-1_4_2-nb-3_5_1-bin-linux.bin>.
./<j2sdk-1_4_2-nb-3_5_1-bin-linux.bin>
in the same line..or one after the other. Are we trying to change the access here.
It'snt working or i didn't get your intention properly.
Could please you be more specific....
Thank you..
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't need to change the permissions; just run the file by saying
sh j2sdk*.bin
then install with
rpm -i j2sdk*.rpm
You have to be root to do the second step.
 
Raja Sagar Panamgipalli
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Thanks Andrew i did it ...
in the following manner..

./j2sdk-1_4_2-nb-3_5_1-bin-linux.bin
bash: ./j2sdk-1_4_2-nb-3_5_1-bin-linux.bin: Permission denied
then i tried ...
chmod +x j2sdk-1_4_2-nb-3_5_1-bin-linux.bin
[root@localhost root]# ./j2sdk-1_4_2-nb-3_5_1-bin-linux.bin

Phewwww it all started ...then from the dir it was installed ...
i run this command
sh runide.sh

It started..
Thanx a million guys.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!