Recently a very kind friend of mine was nice enough to hand over a dv to me (dedicated virtual server). Seeing as how this has a good amount of bandwidth and I am provided with ssh access I decided to setup a blog based on blojsom
This means that I would need to install java, tomcat, mod_jk and blojsom itself...
The only thing is that this box is running Red Hat which is not exactly the debian/ubuntu flavor that I'm used to. I did install apt and configured some repositories to try and get it feeling a little more like debian, but rpm sure isn't dpkg
despite the similarities.
For a while I mulled around trying to decide what the best method of getting java on this box wold be. First I tried looking for the JDK on DAG Wieers repos, no luck. So I moved on to the fresh rpms repos, still no luck on a JDK rpm. In my searching I stumbled across the jpackage repositories, took a look around, and realized I understood very little of what they where trying to explain and went straight to suns site.
Looking around suns website I found RPMs for various distributions of red hat advanced server (or whatever they call it now) but nothing for plain old red hat 9. So I decided to go with the self extracting .bin
So I download the bin to my desktop and use scp to get it to my dv box. I move the .bin file to my /usr directory and unpack it by running ./jdk_5.0.bin and it unpacks just fine. So now I decide to make sure it actually works
cd ./jdk1.5.0_09/bin/java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
I googled around a little and found about a zillion different solutions for this issue, none of which really apply to my case. Anyone happen to have any recomendations?