The embedded java runtime is called ejre, (embedded java runtime edition) not java.

 

Also it is not in the path by default unless you put it there. Sun have not released an arm based JDK to my knowledge, just the JRE. So you either need to compile on a different platform or alternatively use a different compiler i.e. gcj etc..

 

From: Liem Leong [mailto:liem.leong@googlemail.com]
Sent: Monday, 1 November 2010 11:53 PM
To: General mailing list for gumstix users.
Subject: Re: [Gumstix-users] sudo apt-get install and jdk6

 

Hi Paul,

I did a sudo tar xvf ejre-1_6_0_10-fcs-b42-linux-armv6-vfp-eabi-min-10_jun_2010.tar.gz on to a microSD card

Load up the microSD card

java -version

-sh: java: not found

 

Can it be used for ARM 7?

 

Thanks

 

 

On 1 November 2010 11:50, Paul Solomon <pauls@clearboxsystems.com.au> wrote:

Just download the tar binary from the oracle website and untar it on your host machine.

 

It contains a binary that you should be able to just run.

 

From: Liem Leong [mailto:liem.leong@googlemail.com]
Sent: Monday, 1 November 2010 9:47 PM


To: General mailing list for gumstix users.

Subject: Re: [Gumstix-users] sudo apt-get install and jdk6

 

Hi Paul,

How do I install it to Omap3-desktop, using opkg or recompile Bitbake?

Thanks.

On 1 November 2010 10:31, Paul Solomon <pauls@clearboxsystems.com.au> wrote:

Hi Liem,

 

I have been successfully using the embedded java release from sun (oracle) for a while now and it works well. You can get it from http://www.oracle.com/technetwork/java/javase/downloads/embedded-jsp-135769.html. This supports jdk SE 6.

 

Paul

 

 

 

From: Liem Leong [mailto:liem.leong@googlemail.com]
Sent: Monday, 1 November 2010 8:50 PM
To: General mailing list for gumstix users.
Subject: [Gumstix-users] sudo apt-get install and jdk6

 

Hi,

1. Why can't I run sudo apt-get install in OMAP3-desktop?

2. I need jdk 6, how do I do that?  I can managed to install jamvm but it 1.5 is not good enough for our application which is based in jdk 1.6.

Thanks.

--


=======================
Liem Leong

 


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users




--


=======================
Liem Leong

 


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users




--


=======================
Liem Leong