Forum Discussion
Altera_Forum
Honored Contributor
19 years agoRunning Java on uclinux-nios2 board
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.12 Replies
- Altera_Forum
Honored Contributor
--- 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 !
- Altera_Forum
Honored Contributor
--- 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
- Altera_Forum
Honored Contributor
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
- Altera_Forum
Honored Contributor
--- 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!
- Altera_Forum
Honored Contributor
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, - Altera_Forum
Honored Contributor
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. - Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
I found this:
http://hg.openjdk.java.net/ Is this not the appropriate page ? -Michael - Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
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 ?