Java Environment (7.04)
Scott Abbey
scott at wangfu.org
Tue Jul 31 21:38:00 UTC 2007
On Tuesday 31 July 2007 16:35:48 jack wrote:
> I have 7.04 running and came across this page which details building a
> java dev environment on ubuntu feisty...
>
> http://blogs.sun.com/coldrick/entry/java_development_on_ubuntu_part
>
> After d/l'ing the jdk, the author says to execute this as a normal user
> fakeroot make-jpkg jdk-6u2-linux-i586.bin
>
> When I execute this, I get this -
> ~/Desktop$ fakeroot make-jpkg jdk-6u2-linux-i586.bin
> Creating temporary directory: /tmp/make-jpkg.olfjh14729
> Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh
> ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk-doc.sh j2sdk.sh j2se.sh
> sun-j2re.sh sun-j2sdk-doc.sh sun-j2sdk.sh
>
> Detected Debian build architecture: i386
> Detected Debian GNU type: i486-linux-gnu
>
> No matching plugin was found.
> Removing temporary directory: done
>
> I'm assuming this didn't work because of the lack of a plugin named
> jdk-6u2... Does this mean that I need to d/l the runtime (jre) of the
> same release? (I did see a Java JRE 6u2 on sun's site) ...
>
> Any input, as always, is appreciated.
Those instructions are woefully outdated, and do not apply to feisty (note the
author was using breezy). Both the Sun JDK and Netbeans are included in the
Feisty repositories. Simply run:
sudo apt-get install sun-java6-jdk netbeans5.5
This will install the Java 6 and Netbeans 5.5. Eclipse is also included in the
repositories, along with several plugins. You may have to run
update-alternatives to use the Sun JRE instead of the GCJ one.
--
Scott
Please do not send me copies of list mail. I read the list. Thanks!
More information about the ubuntu-users
mailing list