Page 1 of 1

JDK Installation on VoCore

Posted: Sun Dec 28, 2014 9:06 am
by ninad_shah
Hello There,
I am trying to install JDK on VoCore using following commnad

root@OpenWrt:~# opkg update
root@OpenWrt:~# opkg install openjdk-6-jdk

But, it gives me following error:

Unknown package 'openjdk-6-jdk'.
Collected errors:
* opkg_install_cmd: Cannot install package openjdk-6-jdk.

Am I mising any repository to add? Please, guide me. Is Oracle JDK 7 is available on VoCore?

Please, guide me how to install Java on VoCore.

Thanks,
Ninad

Re: JDK Installation on VoCore

Posted: Sun Dec 28, 2014 12:42 pm
by Vonger
I do not know much about JDK on openwrt, this topic might help.
http://stackoverflow.com/questions/2856 ... wrt-dd-wrt

Re: JDK Installation on VoCore

Posted: Sun Dec 28, 2014 7:32 pm
by ninad_shah
Thnaks for the link. I will go through it. Meanwhile, can you tell me how to compile a C program on VoCore and run it. I am trying to copile simple LED blink program but there is no gcc compiler and make command on VoCore. How, can I compile and run C program?

Re: JDK Installation on VoCore

Posted: Sun Dec 28, 2014 9:04 pm
by icorbitt
I can tell you right now that even if you manage to get the repository, you won't have enough room on the flash for the installation. You'll want to mount a USB drive.

I'd say you could use the microSD slot, but it isn't fast enough for anything other than very minor data logging right now. We're talking dialup internet slow here.

Re: JDK Installation on VoCore

Posted: Mon Jan 05, 2015 7:53 pm
by Peter H
ninad_shah wrote:How, can I compile and run C program?


Short version, you need to install the OpenWrt development environment on a PC and build your application there using the OpenWRT cross-compiler, then download the executable files to the VoCore.

See OpenWRT documention and Vonger's blog for VoCore for the longer explanation and step-by-step guides.