Mendy
Mendy

Reputation: 55

setting up eclipse

I have just started learning java. I downloaded eclipse for linux and had an error for which I then followed scott's advice and typed :

ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86_64/

Which seemed to help. I want to know that which java should I use?

click on link to see my options

Also, once I have the .class file, how can I run it?

Upvotes: 1

Views: 96

Answers (2)

Anuj Balan
Anuj Balan

Reputation: 7729

You can get the java version for the linux here

Setting up of eclipse shouldn't be a problem but make sure that java is installed first.

Upvotes: 0

Elbek
Elbek

Reputation: 3484

It is better to use HotSpot impl for java(It seems you have open-jdk), so install it following to this url: http://ubuntu-for-humans.blogspot.com/2011/04/installing-java-on-ubuntu-server-1010.html. And use jdk, not jre. Once you run eclipse, eclipse does for you everything: compiles, runs, deployes, IDE, ...

Upvotes: 1

Related Questions