LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Java application for Embedded Linux with Eclipse as the IDE (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/java-application-for-embedded-linux-with-eclipse-as-the-ide-805943/)

tiannho 05-04-2010 05:07 PM

Java application for Embedded Linux with Eclipse as the IDE
 
Hi, all!

I am a newbie to the embedded linux world. My previous experience is mostly in the developing windows applications, BUT I AM TRYING TO CHANGE ME TO A LINUX DEVELOPER! Forgive me if my question is too easy.

Currently, I am working on a Marvell PXA300 ARMV4I device. I wanna switch the OS from WinCE to embedded Linux and that device does support Linux kernel 2.6.21. Because I developed an application program using Java for Android system with Eclipse as an IDE before, I still wanna develop Java application for embedded linux with Eclipse as an IDE as well.

However, after I googled and searched the website, I did not find any guidance or clue that could teach me how to develop Java application for embedded Linux using Eclipse. All I found is to teach me how to develop application with CDT. If I could use Java, I really want to use Java to develop application. So, is there a way to develop Java application for embedded Linux with Eclipse?

If Eclipse is not a good IDE for doing this, switching to other method is also OK.

What should I do if I wanna use Java to develop application and use embedded linux as my OS. What kind of steps should I follow? Can I use J2ME for embedded linux? How to do that?

With embedded linux, is it possible to develop application like Windows Form? My current project is utilizing Windows' message system, like whenever you touch the screen, my code will go to execute a certain function. Is is possible for me to do it in embedded linux? Thanks a lot!!!

tiannho

nini09 05-11-2010 02:29 PM

Does your embedded Linux support Java and J2ME?

tiannho 05-12-2010 04:19 PM

Quote:

Originally Posted by nini09 (Post 3964864)
Does your embedded Linux support Java and J2ME?

Hi, nini

Actually I have not decided which embedded linux I should use. The Bluecat does not support Marvell PXA303 and I am not sure whether uclinux supports Java. Could you give me some suggestions? Thanks!

tiannho

nini09 05-13-2010 02:30 PM

The Bluecat should support Marvell PXA303 CPU core, Intel XScale core.

tiannho 05-24-2010 05:10 PM

Quote:

Originally Posted by nini09 (Post 3967379)
The Bluecat should support Marvell PXA303 CPU core, Intel XScale core.

Hi, nini

I checked out with the organization of Bluecat. Here is what they told me: We currently do not have support for the PXA303.

So, it seems that bluecat does not support PXA303. Do you know any other embedded linux that supports PXA303? Does uclibc or uclinux work? Is there any JVM specifically for these two OS working on PXA303? Thanks.

tiannho

nini09 05-25-2010 03:04 PM

I am not sure uClinux support or not PXA303. Based on uClinux supported hardware list, it doesn't support PXA303.
If you know some distributions support PXA303 but they don't support JAVA in package. You can download JAVA source code to build it for your platform.

tiannho 05-28-2010 04:48 PM

Quote:

Originally Posted by nini09 (Post 3981022)
I am not sure uClinux support or not PXA303. Based on uClinux supported hardware list, it doesn't support PXA303.
If you know some distributions support PXA303 but they don't support JAVA in package. You can download JAVA source code to build it for your platform.

Thank you, nini.

I will check out which distribution PXA303 supports.

I am sorry but I cannot quite understand why you said I could download JAVA source code to build it for my platform even if the selected OS did not support JAVA. Could you explain this for me? Thanks!

tiannho

nini09 06-01-2010 02:30 PM

If your selected distribution doesn't include JAVA binary executable file, you can download JAVA source code from open source and build it.

tiannho 06-02-2010 02:49 PM

Quote:

Originally Posted by nini09 (Post 3989090)
If your selected distribution doesn't include JAVA binary executable file, you can download JAVA source code from open source and build it.

Ok, I will try and see what will happen!

Thanks.

tiannho


All times are GMT -5. The time now is 08:57 PM.