[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: Java JDK installation
From: Camil Staps <info () camilstaps ! nl>
Date: 2015-02-19 16:55:51
Message-ID: 54E61597.2030406 () camilstaps ! nl
[Download RAW message or body]
Thanks for your reply. Another user of this mailing list already
answered my question and fixed the problem. The details are found here:
http://stackoverflow.com/questions/11808829/jre-1-7-returns-java-lang-noclassdeffounderror-java-lang-object
I think he forgot to CC the group.
Thanks though!
On 19-02-15 12:48, Denys Vlasenko wrote:
> On Thu, Feb 19, 2015 at 12:42 AM, Camil Staps <info@camilstaps.nl> wrote:
> > Dear experts,
> >
> > I'm having problems installing the Java JDK in a busybox (which is in an LXC
> > container on an Ubuntu Server 14.04).
> >
> > In a web application I'm developing, users will be able to upload java code
> > and I will need to compile and run that. For security reasons, I'd like to
> > that inside an LXC container, and for footprint reasons I'd like that to be
> > a busybox. So, I created a busybox container successfully with:
> >
> > lxc-create -n my-box -t busybox
> >
> > It's up and running fine. Then, I downloaded jdk-8u31-linux-i586.rpm from
> > [here](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
> > and ran `rpm -i jdk-8u31-linux-i586.rpm`, which returned no output but
> > created `/usr/java/jdk1.8.0_31` which all looks good.
> >
> > However, when I go to `/usr/java/jdk1.8.0_31/bin` and run `./javac
> > -version`, I get:
> >
> > /usr/java/jdk1.8.0_31/bin # ./javac -version
> > Error occurred during initialization of VM
> > java/lang/NoClassDefFoundError: java/lang/Object
> Please post a strace log of the above command
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic