Codes from my life

using java on linux

This was a problem faced by my friend. He happens to use only JAVA that too JAVAC. He does not like to use Netbeans I don’t know why. And he said that it was the only problem that stopped him from using Linux. So I decided to help him. These were some links which were really helpful.

http://en.opensuse.org/Java
http://en.opensuse.org/Installing_Sun%27s_Java_on_SUSE_Linux (to be more precise)

The problem was that the openJDK which provides JAVC which is the default installation on openSUSE is different from JAVAC provided by SUN because the same Hello World program which compiled on SUN’s JAVAC failed to compile on openJDK’s JAVAC.

The details can be found out here http://lug.nitdgp.ac.in/wiki/index.php/How_to_use_Java_on_Linux

The repositories described there are Local to our college you can use your package manager to locate the packages. For openSUSE users sun’s packages are in Non-OSS repo

Advertisements

Comments on: "using java on linux" (3)

  1. Use a better distro which gives proper Java 😛

  2. Yeah finally I have decided to try Fedora 10 😉

  3. on Debian lenny, you can install sun java by: aptitude install sun-java6-bin
    You may need to have non-free in your sources.list file though.

    Regards

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: