Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12612 Discussions

Running Java on uclinux-nios2 board

Altera_Forum
Honored Contributor II
2,011 Views

Hello, 

I have juat ported K-virtual machine (sun propriety) and am currently running Java programs on NIOSII using uclinux. And it took me no more than 4-5 days. I would just like to thank all the people asnwering questions on this forum.  

 

 

Cheers, 

 

PS: Should I add a wiki page describing the steps to do this or not.
0 Kudos
12 Replies
Altera_Forum
Honored Contributor II
548 Views

 

--- Quote Start ---  

originally posted by madman23@Oct 30 2006, 12:18 PM 

hello, 

      i have juat ported k-virtual machine (sun propriety) and am currently running java programs on niosii using uclinux. and it took me no more than 4-5 days. i would just like to thank all the people asnwering questions on this forum.  

 

 

cheers, 

 

ps: should i add a wiki page describing the steps to do this or not. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19002) 

--- quote end ---  

 

--- Quote End ---  

 

Excellent !
0 Kudos
Altera_Forum
Honored Contributor II
548 Views

 

--- Quote Start ---  

originally posted by hippo+oct 30 2006, 12:24 am--><div class='quotetop'>quote (hippo @ oct 30 2006, 12:24 am)</div> 

--- quote start ---  

<!--quotebegin-madman23@Oct 30 2006, 12:18 PM 

hello, 

      i have juat ported k-virtual machine (sun propriety) and am currently running java programs on niosii using uclinux. and it took me no more than 4-5 days. i would just like to thank all the people asnwering questions on this forum.  

 

 

cheers, 

 

ps: should i add a wiki page describing the steps to do this or not. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19002) 

--- quote end ---  

 

--- Quote End ---  

 

Excellent ! 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19003)</div> 

[/b] 

--- Quote End ---  

 

 

Yes you should add a Wiki about this. Please http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
0 Kudos
Altera_Forum
Honored Contributor II
548 Views

Added the nios-wiki page it describes the basic steps needed to get the java programs running on nios2 using uclinux hopefully they are clear enough

0 Kudos
Altera_Forum
Honored Contributor II
548 Views

 

--- Quote Start ---  

originally posted by madman23@Oct 29 2006, 11:18 PM 

hello, 

      i have juat ported k-virtual machine (sun propriety) and am currently running java programs on niosii using uclinux. and it took me no more than 4-5 days. i would just like to thank all the people asnwering questions on this forum.  

 

 

cheers, 

 

ps: should i add a wiki page describing the steps to do this or not. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19002) 

--- quote end ---  

 

--- Quote End ---  

 

 

Sure, it will be helpfull if you can add some descriptions about those step. 

Hopefully will SUN also open-source its JAVA IP including KVM too, as SUN stated some time ago!
0 Kudos
Altera_Forum
Honored Contributor II
548 Views

Sure, it will be helpfull if you can add some descriptions about those step. 

Hopefully will SUN also open-source its JAVA IP including KVM too, as SUN stated some time ago! 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19046)</div> 

 

--- Quote End ---  

 

 

 

Yep I have added a bit of description as to what all the j2me related steps are supposed to do.  

 

With regards to sun: 

I think sun would release the Java j2se etc.. for desktop/server applications as open source. But kvm is really quiet new v1.1 and also it makes no commercial sense in a booming market of embedded systems to open kvm source/ although development can progress faster with it being open source... But thats just my 2cents http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif  

 

 

regards,
0 Kudos
Altera_Forum
Honored Contributor II
548 Views

hi madman23, 

 

i tried ur wiki recently but i cant find any makefile under ~/download/j2me_cldc/kvm/VmUnix dir. and there already has a makefile in the ~/download/j2me_cldc/kvm/VmUnix/build dir. 

 

there is nth at line 171,172 in runtime_md.c either. the files at sun java site are updated probably? 

 

Pls help. Thx.
0 Kudos
Altera_Forum
Honored Contributor II
548 Views

Hello, 

may I ask you, where can I download java vritual machine ?  

When I find this on nioswiki http://www.nioswiki.com/operatingsystems/uclinux/running_java_on_uclinux-niosii_board 

 

and try link: 

http://www.sun.com/software/communitysource/j2me/cldc/download.xml (http://www.sun.com/software/communitysource/j2me/cldc/download.xml

 

it switch me to http://www.sun.com/software/opensource/index.jsp 

and I am not able to download java virtual machine. 

 

Could you advice me ?  

 

Thank you very much. 

 

Jan Naceradsky, Czech Republic
0 Kudos
Altera_Forum
Honored Contributor II
548 Views

I found this:  

 

http://hg.openjdk.java.net/ 

 

Is this not the appropriate page ?  

 

-Michael
0 Kudos
Altera_Forum
Honored Contributor II
548 Views

I am not sure, I can not find the download of java virtual machine ... 

but in distribution of uClinux I found the Javm directory, isn¨t it, what i am finding ?  

:-) 

 

Jan Naceradsky
0 Kudos
Altera_Forum
Honored Contributor II
548 Views

Hi all,  

 

I have the same problem.  

It seems to be deprecated, and replaced by CLDC HotSpot Implementation. But i don't understand what to do with it, and i don't know where to download it too !!! 

 

By the way, i would like to thank all of team who write the niosWiki. It's a pity that it's not maintained. 

 

Anyone knows how to run a java program on a niosII µClinux, with or without KVM ?
0 Kudos
Altera_Forum
Honored Contributor II
548 Views

Hmm, i try to compile the kernel with JavaVM, but it finishedd with error.  

Could you tell me, where is error or is anybody who has the kernel uClinux with Java VM ? 

 

Thank you very much. 

 

Jan Naceradsky, Czech Republic
0 Kudos
Altera_Forum
Honored Contributor II
548 Views

If you don't give us errors, we can't help you.  

But, i think JVM is not runnable on a µClinux because it's too heavy for this embedded OS. It's for this reason that we must install KVM. 

 

This is what i've understood, but i'm not sure.
0 Kudos
Reply