http://java.sun.com/javase/downloads/index.jsp
As of today, the latest version is "JDK 6 Update 4 with NetBeans 6.0".
Be aware that the installation takes LOTS of space, so maybe you wont be able to do it under a pup_save file. Maybe you'll need a different partition. Anyway, the installer ran fine, and then I proceeded to run netbeans:
Code: Select all
/usr/local/netbeans-6.0/bin/netbeans
Code: Select all
expr: non-numeric argument
expr: syntax error
./netbeans: line 129: [: -gt: unary operator expected
./netbeans: line 131: [: -lt: unary operator expected
./netbeans: line 134: [: -lt: unary operator expected
Invalid maximum heap size: -Xmxm
Could not create the Java virtual machine.
Code: Select all
mem=`cat /proc/meminfo | grep MemTotal | tr -d [:space:][:alpha:]:`
Code: Select all
mem=`cat /proc/meminfo | grep MemTotal | tr -d [:space:][:alpha:]: | cut -d : -f 2 | cut -d k -f 1`