• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Commands n procedure RedHat9.0

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
There are no more "hours", it's centi-days. They say it's better, but this tiny ad says it's stupid:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic