Running a Webserver on a Tonido Plug
Running a Webserver on a Tonido Plug - Getting a JDK to run on the Tonido Plug PDF Print E-mail
Written by Administrator   
Tuesday, 16 November 2010 20:16
Article Index
Running a Webserver on a Tonido Plug
Getting Started
Installing PlugBox Linux
Installing the Apache Webserver
Installing an FTP server on a Tonido Plug
Apache and Bftp Autostart at Boot
Getting a JDK to run on a Tonido Plug
Compiling Tomcat from source on Plugbox Linux
Getting Tomcat Running After Building It
All Pages
Getting a JDK to run on a Tonido Plug

 Doing


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:

http://wiki.maemo.org/OpenJDK_6.0_0_(Cambridge_Software_Labs)_on_N900


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.

cd /opt
wget http://boldinventions.com/downloads/OpenJDK-camswl.tar.gz
tar zxf OpenJDK-camswl.tar.gz
/opt/OpenJDK-camswl/bin/java -version
chown -R kevin OpenJDK-camswl
cd /usr/bin
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
 

Sponsored Links

Bold Inventions, Powered by Joomla!; Joomla templates by SG web hosting