What I'm trying to get to work now is
snipsnap.
It says it needs java SDK 1.4 or better. I went for jdk-6u1 which should fit (right?). Downloaded the self extracting binary from
http://java.sun.com/javase/downloads/index.jsp -> JDK 6u1 download -> Linux self-extracting file and saved it to /usr/src/tar.
I didn't really have any idea what I was doing so I ran it with
Code:
./jdk-6u1-linux-i586.bin
and installed it. It made a folder right there called jdk1.6.0_01. Moved it to /usr/src but then I realized It wasn't the source code but it had already compiled. Okay I figured it was working and ran snipsnap's run.sh
Code:
root@SERVER:/usr/src/snipsnap-1.0b3-uttoxeter# ./run.sh
Error occurred during initialization of VM
Could not reserve enough space for object heap
I went to snipsnap's lib directory and run some file with
Code:
java -jar snipsnap.jar
which said JAVA_HOME wasn't right. Alright, long story short, I finally copied jdk1.6.0_01's files to /usr/lib/jre1.5.0_09/ which I figured was the same version but really wasn't and did
Code:
export JAVA_HOME="/usr/lib/jre1.5.0_09/"
Some things of snipsnap still don't seem to work and I think I have to install java correctly first so I can run it from run.sh
All this wasn't really even important : D, I just wanted to know, what the right steps should be when installing jdk1.6.0_01 from binary.