JDK Installation on VoCore

ninad_shah
 
Posts: 2
Joined: Wed Dec 24, 2014 12:36 pm

JDK Installation on VoCore

Sun Dec 28, 2014 9:06 am

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

Vonger
 
Posts: 768
Joined: Sun Oct 19, 2014 6:00 am

Re: JDK Installation on VoCore

Sun Dec 28, 2014 12:42 pm

I do not know much about JDK on openwrt, this topic might help.
http://stackoverflow.com/questions/2856 ... wrt-dd-wrt

ninad_shah
 
Posts: 2
Joined: Wed Dec 24, 2014 12:36 pm

Re: JDK Installation on VoCore

Sun Dec 28, 2014 7:32 pm

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?

icorbitt
 
Posts: 3
Joined: Thu Dec 18, 2014 9:21 pm

Re: JDK Installation on VoCore

Sun Dec 28, 2014 9:04 pm

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.

Peter H
 
Posts: 58
Joined: Wed Nov 12, 2014 10:24 pm

Re: JDK Installation on VoCore

Mon Jan 05, 2015 7:53 pm

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.

Return to VoCore & VoCore+Dock

Who is online

Users browsing this forum: No registered users and 2 guests