aspose file tools*
The moose likes Linux / UNIX and the fly likes Installing eclipse and java in Linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Installing eclipse and java in Linux " Watch "Installing eclipse and java in Linux " New topic
Author

Installing eclipse and java in Linux

Vipul Shinde
Greenhorn

Joined: Sep 27, 2005
Posts: 6
I have java rpm : jdk-1_5_0_02-linux-i586.rpm

and eclipse IDE set up file : eclipse-SDK-3.1M4-linux-motif.zip.


Can any 1 tell me steps to install both java and eclipse.

Regard's
Vipul
Stuart Ash
Ranch Hand

Joined: Oct 07, 2005
Posts: 637
If you are new to linux, you can refer the Linux Manual on how to install a program from an rpm file. (Google for it! )

For eclipse, it is just a matter of unzipping the files to some selected folder.


ASCII silly question, Get a silly ANSI.
Peter Rooke
Ranch Hand

Joined: Oct 21, 2004
Posts: 794

For the Java red hat package:

i) Log in as root
ii) type

RPM should then install Java.

As Stuart said just unzip the eclipse-SDK-3.1M4-linux-motif.zip file. you should then find the eclipse executable in the YOURPATH/eclipse directory.
[ October 24, 2005: Message edited by: Peter Rooke ]

Regards Pete
Vinnie Jenks
Ranch Hand

Joined: Apr 26, 2004
Posts: 207
On Gentoo, here's what I do.

execute the java bin you downloaded from Sun...which basically just extracts it to a folder.

Put that folder in /opt.

Create the file /etc/env.d/20java - put this in it (edit to your liking)



reboot.

As for eclipse...unzip it and execute it...you should be good to go.

HTH

-v
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

If you use your variables, you don't need to fear updates:


Well, and we don't need to

reboot.


should be sufficient, while on my linux it would be /etc/init.d/java and a link to the runlevels /etc/rcX.d/S20java.


http://home.arcor.de/hirnstrom/bewerbung
Peter Rooke
Ranch Hand

Joined: Oct 21, 2004
Posts: 794

You may find this site usefull: JPackage
Visit here to see how to set up a package manager, like yum or apt-rpm: Recent JPackage RPMs
 
 
subject: Installing eclipse and java in Linux
 
Similar Threads
How to build RPM in fedora 10 linux for java application
Apache RPM and Non Root user
Installing JDK on Linux.
advice on how to gain linux experience while working on window
Installing Tomcat on linux help needed.