Running a Webserver on a Tonido Plug
|Running a Webserver on a Tonido Plug - Getting a JDK to run on the Tonido Plug|
|Written by Administrator|
|Tuesday, 16 November 2010 20:16|
Page 7 of 9Getting a JDK to run on a Tonido Plug
pacman -S openjdk6-debian
did not work. :(
It made a bunch of links in my user/bin which pointed to a non-existent build folder. I didn’t think the install worked correctly although I did not see any errors. Is the package broken, or did something go wrong silently like it ran out of memory? Did I mess something up? I don't know, but it certainly did not work and I didn't see any way to proceeding from there.
Now I’m trying something else:
mmm... This actually seemed to work. I can compile and run Java programs...
I wrote to the owner of Cambridge Software Labs. He asked me link to the files on my own site to save his bandwidth, so I did some of the steps in the link above and put the resulting file on this web site to make fewer steps.
ok, here’s what I did:
I put the following shells in a file using the text editor and made it executable and ran it.
tar zxf OpenJDK-camswl.tar.gz
chown -R kevin OpenJDK-camswl
ln -s /opt/OpenJDK-camswl/bin/java /usr/bin
ln -s /opt/OpenJDK-camswl/bin/javac /usr/bin
ln -s /opt/OpenJDK-camswl/bin/jar /usr/bin
ln -s /opt/OpenJDK-camswl/bin/jdb /usr/bin
ln -s /opt/OpenJDK-camswl/bin/jarsigner /usr/bin
ln -s /opt/OpenJDK-camswl/bin/javadoc /usr/bin
Those last bunch of commands are to make links in the /usr/bin folder to the programs which are actually in /opt/OpenJDK-camswl/bin/
After doing this, Java was working. I could compile and run Java programs!
Next up: Tomcat!
|Last Updated on Wednesday, 01 December 2010 14:06|