http://java.sun.com/j2se/downloads/
I used jdk-6-nb-5_5-linux.bin.
There also is a smaller one without netbeans:
jdk-6-linux-i586.bin
It needs a lot of space, more than I had in my Puppy.
So I saved it in /mnt/sda6/
It required 300 MB temporarily, and 230 MB for the final installation.
To install it, I ran:
./jdk-6-nb-5_5-linux.bin -is:tempdir /mnt/sda2/jdktemp
This gave me an error.
I had to replace the symlink /bin/df with a df binary:
I add it as attachment, extract it to /bin.
Then tried it again.
Now the installer written in Java started, and I could enter the final installation folder.
Finally I created a startscript for netbeans:
/usr/local/bin/netbeans
Code: Select all
#!/bin/bash
/mnt/sda6/java/netbeans-5.5/bin/netbeans
To be able to run Java programs, create a file
/etc/profile.local
Code: Select all
export PATH=$PATH:/mnt/sda6/java/jdk1.6.0/bin
. /etc/profile.local
Now in this xterm, this PATH is used.
--------------------
Download eclipse, and extract it.
I used version 322.
Then I ran from the above mentioned xterm:
cd /mnt/sda6/eclipse322/eclipse
./eclipse
You should create a startscript for it, too, like the netbeans example above.
Screenshot of Eclipse:
http://noforum.de/pics/eclipse214.jpg (150 kb)
Mark