Discussion group dedicated to the Philips LPC2000 family of ARM MCUs
JAVA on ARM - Vladimir - Nov 3 8:57:25 2009
Hi,
I use C to write my programs without big problems.
Now I need to improve old project with internet communication written on JAVA by other
people.
I'm far from "big" programming.
Could anybody explain is it possible to install JAVA virual machine on the any simple ARM
LPC24xx/LPC17xx device and which way.
Sorry for the stupid question :(
Thanks
Best regards
Vladimir
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
Re: JAVA on ARM - Jan Vanek - Nov 3 9:38:38 2009
Hi Vladimir,
couple of questions: how big is the Java project? How many classes, and how much thay take
on disk (.class files) ? How many JDK
classes are used by that project? And how big is the memory consumption?
It is possible to install JVM on those processors, it is just an application. The class
files of your app will be somewhere behind
it in the flash too. There is couple of embedded JVMs, I can't suggest the best one
though... I was happy I quit that world :-) Btw.
you didn't write virual by accident, did you?
Regards,
Jan
----- Original Message -----
From: "Vladimir"
To:
Sent: Tuesday, November 03, 2009 2:57 PM
Subject: [lpc2000] JAVA on ARM
Hi,
I use C to write my programs without big problems.
Now I need to improve old project with internet communication written on JAVA by other
people.
I'm far from "big" programming.
Could anybody explain is it possible to install JAVA virual machine on the any simple ARM
LPC24xx/LPC17xx device and which way.
Sorry for the stupid question :(
Thanks
Best regards
Vladimir
------------------------------------
______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: JAVA on ARM - Vladimir Ljaschko - Nov 3 10:55:13 2009
Hi, Jan,
Thanks for the reply.
Current project based on the Dallas Tini platform (x51 core).
Original JAVA source code has approx 10K lines, it is converted by Tini
converter to x51 codes and result is approx 150 kbytes.
Plus Java library in flash.
So, primary problem is: the project is too big for the used platform, so,
now, when customer wants to get improvements, we have nothing to offer.
Common direction is clear - something about more powerful ARM with Linux or
Android, but we don't have experience, this is world which you've quit and
you are so happy :)
"Virual" was by accident, English is not my native language, do you think it
was "Freudian" slip of the tongue? ;)
Best regards
Vladimir
----- Original Message -----
From: "Jan Vanek"
To:
Sent: Tuesday, November 03, 2009 4:38 PM
Subject: Re: [lpc2000] JAVA on ARM
> Hi Vladimir,
>
> couple of questions: how big is the Java project? How many classes, and
> how much thay take on disk (.class files) ? How many JDK
> classes are used by that project? And how big is the memory consumption?
>
> It is possible to install JVM on those processors, it is just an
> application. The class files of your app will be somewhere behind
> it in the flash too. There is couple of embedded JVMs, I can't suggest the
> best one though... I was happy I quit that world :-) Btw.
> you didn't write virual by accident, did you?
>
> Regards,
> Jan
> ----- Original Message -----
> From: "Vladimir"
> To:
> Sent: Tuesday, November 03, 2009 2:57 PM
> Subject: [lpc2000] JAVA on ARM
> Hi,
>
> I use C to write my programs without big problems.
> Now I need to improve old project with internet communication written on
> JAVA by other people.
> I'm far from "big" programming.
> Could anybody explain is it possible to install JAVA virual machine on the
> any simple ARM LPC24xx/LPC17xx device and which way.
>
> Sorry for the stupid question :(
>
> Thanks
> Best regards
> Vladimir
------------------------------------
______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: JAVA on ARM - 42Bastian - Nov 3 11:58:16 2009
Vladimir
> Current project based on the Dallas Tini platform (x51 core).
> ...
> Common direction is clear - something about more powerful ARM with Linux or
> Android,
Switch from x51 to Linux ? Crazy, check out the Lego robot, IIRC there
is a sourceforge project brining Java on it.
(Bet you can find it if you were searching this group for "Java")
--
42Bastian
------------------
Parts of this email are written with invisible ink.
Note: SPAM-only account, direct mail to bs42@...
------------------------------------
______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.
(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
Re: JAVA on ARM - Miguel Angel - Nov 3 12:02:41 2009
Nice, I've never worked with embedded JVMs, could you point us to them? :)
(just curious)
Thanks you,
Miguel Angel Ajo Pelayo
http://www.nbee.es
+34 91 120 1798
+34 636 52 25 69
skype: ajoajoajo
2009/11/3 Jan Vanek
> Hi Vladimir,
>
> couple of questions: how big is the Java project? How many classes, and how
> much thay take on disk (.class files) ? How many JDK
> classes are used by that project? And how big is the memory consumption?
>
> It is possible to install JVM on those processors, it is just an
> application. The class files of your app will be somewhere behind
> it in the flash too. There is couple of embedded JVMs, I can't suggest the
> best one though... I was happy I quit that world :-) Btw.
> you didn't write virual by accident, did you?
>
> Regards,
> Jan
> ----- Original Message -----
> From: "Vladimir" >
> To: >
> Sent: Tuesday, November 03, 2009 2:57 PM
> Subject: [lpc2000] JAVA on ARM
>
> Hi,
>
> I use C to write my programs without big problems.
> Now I need to improve old project with internet communication written on
> JAVA by other people.
> I'm far from "big" programming.
> Could anybody explain is it possible to install JAVA virual machine on the
> any simple ARM LPC24xx/LPC17xx device and which way.
>
> Sorry for the stupid question :(
>
> Thanks
> Best regards
> Vladimir
>
>
>
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: JAVA on ARM - Jan Vanek - Nov 3 12:33:41 2009
Hi Miguel,
sorry, I didn't write it clearly... When I said "I quit that world" I actually meant the
world of enterprise Java (well, and ABAP,
so you know where now :-) apps. A part of it was interesting - modifying/enhancing the SUN
Hotspot VM implementation (in C++), and
the previous VM called CVM (in C). So I know the internals of the Hotspot VM, but I don't
have an overview of existing embedded VMs.
I traded that (enterprise, well, stuff) for embedded development, and it was a good
choice... Getting a JVM to run on embedded
platfom is quite interesting though, I agree... Let's see what will be Vladimir's
decisions...
With regards,
Jan
----- Original Message -----
From: "Miguel Angel"
To:
Sent: Tuesday, November 03, 2009 6:02 PM
Subject: Re: [lpc2000] JAVA on ARM
> Nice, I've never worked with embedded JVMs, could you point us to them? :)
> (just curious)
>
> Thanks you,
>
> Miguel Angel Ajo Pelayo
> http://www.nbee.es
> +34 91 120 1798
> +34 636 52 25 69
> skype: ajoajoajo
> 2009/11/3 Jan Vanek > Hi Vladimir,
>>
>> couple of questions: how big is the Java project? How many classes, and how
>> much thay take on disk (.class files) ? How many JDK
>> classes are used by that project? And how big is the memory consumption?
>>
>> It is possible to install JVM on those processors, it is just an
>> application. The class files of your app will be somewhere behind
>> it in the flash too. There is couple of embedded JVMs, I can't suggest the
>> best one though... I was happy I quit that world :-) Btw.
>> you didn't write virual by accident, did you?
>>
>> Regards,
>> Jan
>> ----- Original Message -----
>> From: "Vladimir" >
>> To: >
>> Sent: Tuesday, November 03, 2009 2:57 PM
>> Subject: [lpc2000] JAVA on ARM
>>
>> Hi,
>>
>> I use C to write my programs without big problems.
>> Now I need to improve old project with internet communication written on
>> JAVA by other people.
>> I'm far from "big" programming.
>> Could anybody explain is it possible to install JAVA virual machine on the
>> any simple ARM LPC24xx/LPC17xx device and which way.
>>
>> Sorry for the stupid question :(
>>
>> Thanks
>> Best regards
>> Vladimir
>>
> [Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: JAVA on ARM - rtstofer - Nov 3 12:49:15 2009
--- In l...@yahoogroups.com, 42Bastian
wrote:
> Switch from x51 to Linux ? Crazy, check out the Lego robot, IIRC there
> is a sourceforge project brining Java on it.
> (Bet you can find it if you were searching this group for "Java")
>
> --
> 42Bastian
For Lego, leJOS is the JVM. There are two versions: one for the original brick (RCX) and
one for the ARM based LEGO NXT named NXJ
http://lejos.sourceforge.net/nxj.php
Richard
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com ) Re: JAVA on ARM - Vladimir Ljaschko - Nov 3 12:56:36 2009
Hi,
>.. Let's see what will be Vladimir's decisions...
> Jan
Hm, my decisions? They will be based on the your advices :)
I'm lucky because I can say to my boss that I have a lot of other job and
that's true. From other side it is really interesting, so if it is "normal"
project which could be ported on simple ARM7 platform without any OS and
run - why not?
Now I'm doing what I had to do at the beginning - seaching for "JAVA" on the
group.
Best regards
Vladimir
>
> ----- Original Message -----
> From: "Miguel Angel"
> To:
> Sent: Tuesday, November 03, 2009 6:02 PM
> Subject: Re: [lpc2000] JAVA on ARM
>> Nice, I've never worked with embedded JVMs, could you point us to them?
>> :)
>> (just curious)
>>
>> Thanks you,
>>
>> Miguel Angel Ajo Pelayo
>> http://www.nbee.es
>> +34 91 120 1798
>> +34 636 52 25 69
>> skype: ajoajoajo
>> 2009/11/3 Jan Vanek
>>
>>>
>>>
>>> Hi Vladimir,
>>>
>>> couple of questions: how big is the Java project? How many classes, and
>>> how
>>> much thay take on disk (.class files) ? How many JDK
>>> classes are used by that project? And how big is the memory consumption?
>>>
>>> It is possible to install JVM on those processors, it is just an
>>> application. The class files of your app will be somewhere behind
>>> it in the flash too. There is couple of embedded JVMs, I can't suggest
>>> the
>>> best one though... I was happy I quit that world :-) Btw.
>>> you didn't write virual by accident, did you?
>>>
>>> Regards,
>>> Jan
>>>
>>>
>>> ----- Original Message -----
>>> From: "Vladimir" >
>>> To: >
>>> Sent: Tuesday, November 03, 2009 2:57 PM
>>> Subject: [lpc2000] JAVA on ARM
>>>
>>> Hi,
>>>
>>> I use C to write my programs without big problems.
>>> Now I need to improve old project with internet communication written on
>>> JAVA by other people.
>>> I'm far from "big" programming.
>>> Could anybody explain is it possible to install JAVA virual machine on
>>> the
>>> any simple ARM LPC24xx/LPC17xx device and which way.
>>>
>>> Sorry for the stupid question :(
>>>
>>> Thanks
>>> Best regards
>>> Vladimir
>>>
>>>
>>>
>> [Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: JAVA on ARM - Jan Vanek - Nov 3 15:02:17 2009
I'd also consider the option of rewriting your app in C++. In your particular case there
might be a lot of reasons to do so, and
vice-versa. It depends how much you/company wants to invest in Java, and on the available
HW.
Technically the app doesn't seem to be really big (150K compiled). Once you sort the
memory handling (because you don't have a GC),
you might be able to write syntactically almost identical code. Then you'll still need
some parts of the "JDK" Java classes used by
you app. Those might be, in the original JDK used by your app, implemented in Java or
natively in C. And you would need to provide
C++/C equivalent of those. You'd need to sort the threading/synchronization support too. I
think you can decice whether this path is
technically feasible if you know how much of the underlaying Java technology your
application uses.
Similar if you decide to take an existing embedded JVM. You need to know what your app
needs from it, or future apps if there is
going to be an investment. Apart from that, the JVM basically just needs memory,
threading, which can be provided by an RTOS,
together with synchronization. You doesn't really need an RTOS, you need a tasking support
(if you use Java threads). The IO (file
IO) is in your case not necessary, you just need to sort the class-loading to direct it to
the flash where you class files are
stored in some package. I bet this is done by embedded JVMs, only obviously I can't tell
you pick this one or that one (not enough
knowledge). So I am sort of looking forward your decisions...
With regards,
Jan
----- Original Message -----
From: "Vladimir Ljaschko"
To:
Sent: Tuesday, November 03, 2009 6:55 PM
Subject: Re: [lpc2000] JAVA on ARM
> Hi,
>
>>.. Let's see what will be Vladimir's decisions...
>> Jan
>
> Hm, my decisions? They will be based on the your advices :)
>
> I'm lucky because I can say to my boss that I have a lot of other job and
> that's true. From other side it is really interesting, so if it is "normal"
> project which could be ported on simple ARM7 platform without any OS and
> run - why not?
>
> Now I'm doing what I had to do at the beginning - seaching for "JAVA" on the
> group.
>
> Best regards
> Vladimir
>>
>> ----- Original Message -----
>> From: "Miguel Angel"
>> To:
>> Sent: Tuesday, November 03, 2009 6:02 PM
>> Subject: Re: [lpc2000] JAVA on ARM
>>> Nice, I've never worked with embedded JVMs, could you point us to them?
>>> :)
>>> (just curious)
>>>
>>> Thanks you,
>>>
>>> Miguel Angel Ajo Pelayo
>>> http://www.nbee.es
>>> +34 91 120 1798
>>> +34 636 52 25 69
>>> skype: ajoajoajo
>>>
>>>
>>> 2009/11/3 Jan Vanek
>>>
>>>>
>>>>
>>>> Hi Vladimir,
>>>>
>>>> couple of questions: how big is the Java project? How many classes, and
>>>> how
>>>> much thay take on disk (.class files) ? How many JDK
>>>> classes are used by that project? And how big is the memory consumption?
>>>>
>>>> It is possible to install JVM on those processors, it is just an
>>>> application. The class files of your app will be somewhere behind
>>>> it in the flash too. There is couple of embedded JVMs, I can't suggest
>>>> the
>>>> best one though... I was happy I quit that world :-) Btw.
>>>> you didn't write virual by accident, did you?
>>>>
>>>> Regards,
>>>> Jan
>>>>
>>>>
>>>> ----- Original Message -----
>>>> From: "Vladimir" >
>>>> To: >
>>>> Sent: Tuesday, November 03, 2009 2:57 PM
>>>> Subject: [lpc2000] JAVA on ARM
>>>>
>>>> Hi,
>>>>
>>>> I use C to write my programs without big problems.
>>>> Now I need to improve old project with internet communication written on
>>>> JAVA by other people.
>>>> I'm far from "big" programming.
>>>> Could anybody explain is it possible to install JAVA virual machine on
>>>> the
>>>> any simple ARM LPC24xx/LPC17xx device and which way.
>>>>
>>>> Sorry for the stupid question :(
>>>>
>>>> Thanks
>>>> Best regards
>>>> Vladimir
>>>>
>>>>
>>>>
>>>
>>>
>>> [Non-text portions of this message have been removed]
>>>
>>>
------------------------------------
______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: JAVA on ARM - jmrobert5 - Nov 4 8:57:44 2009
Recode in C or C++.
Seriously. You will all be much, much happier.
We had a app that was done in Java that ran on a pc, desktops and also pc104 cards. It
was decided to design and build a dedicated hardware with lcd screen just to run this one
app. Starting from anything they wanted.
They chose Xilinx fpga with embedded PPC405 300Mhz hardware processor.
We had to pay a nice company to port and build the JVM. They did a great job. A year
later we were running the app on hardware.
The app was too slow. A year after tweaking, changing, modifying it was still too
slow.
The entire project was rewritten in C++.
Read line 1 again, thats exactly what I told my boss on day 1 of the project. Recode in
C++. 2 years and 20,000+ manhours later, its been redone in C++.
--- In l...@yahoogroups.com, "Vladimir Ljaschko"
wrote:
>
> Hi,
>
> >.. Let's see what will be Vladimir's decisions...
> > Jan
>
> Hm, my decisions? They will be based on the your advices :)
>
> I'm lucky because I can say to my boss that I have a lot of other job and
> that's true. From other side it is really interesting, so if it is "normal"
> project which could be ported on simple ARM7 platform without any OS and
> run - why not?
>
> Now I'm doing what I had to do at the beginning - seaching for "JAVA" on the
> group.
>
> Best regards
> Vladimir
> >
> >
> >
> > ----- Original Message -----
> > From: "Miguel Angel"
> > To:
> > Sent: Tuesday, November 03, 2009 6:02 PM
> > Subject: Re: [lpc2000] JAVA on ARM
> >
> >
> >> Nice, I've never worked with embedded JVMs, could you point us to them?
> >> :)
> >> (just curious)
> >>
> >> Thanks you,
> >>
> >> Miguel Angel Ajo Pelayo
> >> http://www.nbee.es
> >> +34 91 120 1798
> >> +34 636 52 25 69
> >> skype: ajoajoajo
> >>
> >>
> >> 2009/11/3 Jan Vanek
> >>
> >>>
> >>>
> >>> Hi Vladimir,
> >>>
> >>> couple of questions: how big is the Java project? How many classes, and
> >>> how
> >>> much thay take on disk (.class files) ? How many JDK
> >>> classes are used by that project? And how big is the memory consumption?
> >>>
> >>> It is possible to install JVM on those processors, it is just an
> >>> application. The class files of your app will be somewhere behind
> >>> it in the flash too. There is couple of embedded JVMs, I can't suggest
> >>> the
> >>> best one though... I was happy I quit that world :-) Btw.
> >>> you didn't write virual by accident, did you?
> >>>
> >>> Regards,
> >>> Jan
> >>>
> >>>
> >>> ----- Original Message -----
> >>> From: "Vladimir" >
> >>> To: >
> >>> Sent: Tuesday, November 03, 2009 2:57 PM
> >>> Subject: [lpc2000] JAVA on ARM
> >>>
> >>> Hi,
> >>>
> >>> I use C to write my programs without big problems.
> >>> Now I need to improve old project with internet communication written on
> >>> JAVA by other people.
> >>> I'm far from "big" programming.
> >>> Could anybody explain is it possible to install JAVA virual machine on
> >>> the
> >>> any simple ARM LPC24xx/LPC17xx device and which way.
> >>>
> >>> Sorry for the stupid question :(
> >>>
> >>> Thanks
> >>> Best regards
> >>> Vladimir
> >>>
> >>>
> >>>
> >>
> >>
> >> [Non-text portions of this message have been removed]
> >>
> >>
> >
>
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: Re: JAVA on ARM - leon Heller - Nov 4 9:14:38 2009
----- Original Message -----
From: "jmrobert5"
To:
Sent: Wednesday, November 04, 2009 1:54 PM
Subject: [lpc2000] Re: JAVA on ARM
> Recode in C or C++.
> Seriously. You will all be much, much happier.
>
> We had a app that was done in Java that ran on a pc, desktops and also
> pc104 cards. It was decided to design and build a dedicated hardware with
> lcd screen just to run this one app. Starting from anything they wanted.
>
> They chose Xilinx fpga with embedded PPC405 300Mhz hardware processor.
>
> We had to pay a nice company to port and build the JVM. They did a great
> job. A year later we were running the app on hardware.
>
> The app was too slow. A year after tweaking, changing, modifying it was
> still too slow.
>
> The entire project was rewritten in C++.
> Read line 1 again, thats exactly what I told my boss on day 1 of the
> project. Recode in C++. 2 years and 20,000+ manhours later, its been
> redone in C++.
At the university where a friend of mine works they use so-called Real-Time
Java a lot for teaching embedded systems. A lot of the functions have been
recoded in assembler or C, making it fast enough for most applications. It
make things very easy for the students, but they will have problems when
they go into industry and find that hardly anyone actually uses Java.
Leon
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: JAVA on ARM - rtstofer - Nov 4 10:01:48 2009
--- In l...@yahoogroups.com, "leon Heller"
wrote:
> It
> make things very easy for the students, but they will have problems when
> they go into industry and find that hardly anyone actually uses Java.
>
> Leon
>
And here I was told that Java was the be-all, end-all of computer languages.
I do like the idea that apps are portable between Linux and Windows and, for some obscure
reason, only Java could be used to create a real-time chart on a web page I built years
ago.
I think I'll just hang with C. So far, I have pretty much managed to give C++ a miss as
well.
I view C++ as a train wreck. Interesting to watch but not something I would want to be
involved in.
Richard
------------------------------------
______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com ) Re: JAVA on ARM - Vladimir Ljaschko - Nov 4 13:01:08 2009
Hi, Jan,
This project can be called "Internet monitor/remote control of the XXX
system" using SNMP, e-mail, http, and main part has been written on Java.
So, shell I explain why my decision is "embedded Java"?
If you have any idea about specific platform, it would be nice.
I've started already to explain to boss that "wonders don't exist", that it
is not realistic to get new platform based on popular and cheap uC and to
adapt it in few weeks for application.
If you think that I'm wrong - point to the dream platform with embedded
Java!
Thanks a lot for your help even without that :)
Best regards
Vladimir
----- Original Message -----
From: "Jan Vanek"
To:
Sent: Tuesday, November 03, 2009 10:01 PM
Subject: Re: [lpc2000] JAVA on ARM
> I'd also consider the option of rewriting your app in C++. In your
> particular case there might be a lot of reasons to do so, and
> vice-versa. It depends how much you/company wants to invest in Java, and
> on the available HW.
>
> Technically the app doesn't seem to be really big (150K compiled). Once
> you sort the memory handling (because you don't have a GC),
> you might be able to write syntactically almost identical code. Then
> you'll still need some parts of the "JDK" Java classes used by
> you app. Those might be, in the original JDK used by your app, implemented
> in Java or natively in C. And you would need to provide
> C++/C equivalent of those. You'd need to sort the
> threading/synchronization support too. I think you can decice whether this
> path is
> technically feasible if you know how much of the underlaying Java
> technology your application uses.
>
> Similar if you decide to take an existing embedded JVM. You need to know
> what your app needs from it, or future apps if there is
> going to be an investment. Apart from that, the JVM basically just needs
> memory, threading, which can be provided by an RTOS,
> together with synchronization. You doesn't really need an RTOS, you need a
> tasking support (if you use Java threads). The IO (file
> IO) is in your case not necessary, you just need to sort the class-loading
> to direct it to the flash where you class files are
> stored in some package. I bet this is done by embedded JVMs, only
> obviously I can't tell you pick this one or that one (not enough
> knowledge). So I am sort of looking forward your decisions...
>
> With regards,
> Jan
>
> ----- Original Message -----
> From: "Vladimir Ljaschko"
> To:
> Sent: Tuesday, November 03, 2009 6:55 PM
> Subject: Re: [lpc2000] JAVA on ARM
>> Hi,
>>
>>>.. Let's see what will be Vladimir's decisions...
>>> Jan
>>
>> Hm, my decisions? They will be based on the your advices :)
>>
>> I'm lucky because I can say to my boss that I have a lot of other job and
>> that's true. From other side it is really interesting, so if it is
>> "normal"
>> project which could be ported on simple ARM7 platform without any OS and
>> run - why not?
>>
>> Now I'm doing what I had to do at the beginning - seaching for "JAVA" on
>> the
>> group.
>>
>> Best regards
>> Vladimir
>>>
>>>
>>>
>>> ----- Original Message -----
>>> From: "Miguel Angel"
>>> To:
>>> Sent: Tuesday, November 03, 2009 6:02 PM
>>> Subject: Re: [lpc2000] JAVA on ARM
>>>
>>>
>>>> Nice, I've never worked with embedded JVMs, could you point us to them?
>>>> :)
>>>> (just curious)
>>>>
>>>> Thanks you,
>>>>
>>>> Miguel Angel Ajo Pelayo
>>>> http://www.nbee.es
>>>> +34 91 120 1798
>>>> +34 636 52 25 69
>>>> skype: ajoajoajo
>>>>
>>>>
>>>> 2009/11/3 Jan Vanek
>>>>
>>>>>
>>>>>
>>>>> Hi Vladimir,
>>>>>
>>>>> couple of questions: how big is the Java project? How many classes,
>>>>> and
>>>>> how
>>>>> much thay take on disk (.class files) ? How many JDK
>>>>> classes are used by that project? And how big is the memory
>>>>> consumption?
>>>>>
>>>>> It is possible to install JVM on those processors, it is just an
>>>>> application. The class files of your app will be somewhere behind
>>>>> it in the flash too. There is couple of embedded JVMs, I can't suggest
>>>>> the
>>>>> best one though... I was happy I quit that world :-) Btw.
>>>>> you didn't write virual by accident, did you?
>>>>>
>>>>> Regards,
>>>>> Jan
>>>>>
>>>>>
>>>>> ----- Original Message -----
>>>>> From: "Vladimir" >
>>>>> To: >
>>>>> Sent: Tuesday, November 03, 2009 2:57 PM
>>>>> Subject: [lpc2000] JAVA on ARM
>>>>>
>>>>> Hi,
>>>>>
>>>>> I use C to write my programs without big problems.
>>>>> Now I need to improve old project with internet communication written
>>>>> on
>>>>> JAVA by other people.
>>>>> I'm far from "big" programming.
>>>>> Could anybody explain is it possible to install JAVA virual machine on
>>>>> the
>>>>> any simple ARM LPC24xx/LPC17xx device and which way.
>>>>>
>>>>> Sorry for the stupid question :(
>>>>>
>>>>> Thanks
>>>>> Best regards
>>>>> Vladimir
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> [Non-text portions of this message have been removed]
>>>>
>>>>
>>>
>>>
------------------------------------
______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: Re: JAVA on ARM - Vladimir Ljaschko - Nov 5 4:03:29 2009
Thank you, Robert,
>Recode in C or C++. Seriously.
I've sent this sentence to my boss already :)
Jan was right, decision depends from situation inside firm.
It looks that for us it is better to stop any activity in this project at
all.
But boss can start co-operation with other firm which has more expeience in
this branch.
If other firms will offer "simple and nice" Java solution, so it will horror
without end :)
Best regards
Vladimir
----- Original Message -----
From: "jmrobert5"
To:
Sent: Wednesday, November 04, 2009 3:54 PM
Subject: [lpc2000] Re: JAVA on ARM
Recode in C or C++.
Seriously. You will all be much, much happier.
We had a app that was done in Java that ran on a pc, desktops and also pc104
cards. It was decided to design and build a dedicated hardware with lcd
screen just to run this one app. Starting from anything they wanted.
They chose Xilinx fpga with embedded PPC405 300Mhz hardware processor.
We had to pay a nice company to port and build the JVM. They did a great
job. A year later we were running the app on hardware.
The app was too slow. A year after tweaking, changing, modifying it was
still too slow.
The entire project was rewritten in C++.
Read line 1 again, thats exactly what I told my boss on day 1 of the
project. Recode in C++. 2 years and 20,000+ manhours later, its been
redone in C++.
--- In l...@yahoogroups.com, "Vladimir Ljaschko" wrote:
>
> Hi,
>
> >.. Let's see what will be Vladimir's decisions...
> > Jan
>
> Hm, my decisions? They will be based on the your advices :)
>
> I'm lucky because I can say to my boss that I have a lot of other job and
> that's true. From other side it is really interesting, so if it is
> "normal"
> project which could be ported on simple ARM7 platform without any OS and
> run - why not?
>
> Now I'm doing what I had to do at the beginning - seaching for "JAVA" on
> the
> group.
>
> Best regards
> Vladimir
> >
> >
> >
> > ----- Original Message -----
> > From: "Miguel Angel"
> > To:
> > Sent: Tuesday, November 03, 2009 6:02 PM
> > Subject: Re: [lpc2000] JAVA on ARM
> >
> >
> >> Nice, I've never worked with embedded JVMs, could you point us to them?
> >> :)
> >> (just curious)
> >>
> >> Thanks you,
> >>
> >> Miguel Angel Ajo Pelayo
> >> http://www.nbee.es
> >> +34 91 120 1798
> >> +34 636 52 25 69
> >> skype: ajoajoajo
> >>
> >>
> >> 2009/11/3 Jan Vanek
> >>
> >>>
> >>>
> >>> Hi Vladimir,
> >>>
> >>> couple of questions: how big is the Java project? How many classes,
> >>> and
> >>> how
> >>> much thay take on disk (.class files) ? How many JDK
> >>> classes are used by that project? And how big is the memory
> >>> consumption?
> >>>
> >>> It is possible to install JVM on those processors, it is just an
> >>> application. The class files of your app will be somewhere behind
> >>> it in the flash too. There is couple of embedded JVMs, I can't suggest
> >>> the
> >>> best one though... I was happy I quit that world :-) Btw.
> >>> you didn't write virual by accident, did you?
> >>>
> >>> Regards,
> >>> Jan
> >>>
> >>>
> >>> ----- Original Message -----
> >>> From: "Vladimir" >
> >>> To: >
> >>> Sent: Tuesday, November 03, 2009 2:57 PM
> >>> Subject: [lpc2000] JAVA on ARM
> >>>
> >>> Hi,
> >>>
> >>> I use C to write my programs without big problems.
> >>> Now I need to improve old project with internet communication written
> >>> on
> >>> JAVA by other people.
> >>> I'm far from "big" programming.
> >>> Could anybody explain is it possible to install JAVA virual machine on
> >>> the
> >>> any simple ARM LPC24xx/LPC17xx device and which way.
> >>>
> >>> Sorry for the stupid question :(
> >>>
> >>> Thanks
> >>> Best regards
> >>> Vladimir
> >>>
> >>>
> >>>
> >>
> >>
> >> [Non-text portions of this message have been removed]
> >>
> >>
> >
>
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: Re: JAVA on ARM - Dick Balaska - Nov 11 21:00:29 2009
Am 11/5/2009 4:07 AM, also sprach Vladimir Ljaschko:
> Thank you, Robert,
>
>
>> Recode in C or C++. Seriously.
>>
>
> I've sent this sentence to my boss already :)
>
One advantage of recoding it to C++ would be that all of those places
where you said "This could be done better" can be fixed.
I've found that recoding a project in another language goes very quick
when you have an actual working model of the algorithms already in front
of you.
You can sell this refactoring project as "Extreme programming", a modern
paradigm that Boss reads about in Boss magazines.
One problem might be is if you're using something like JFreeChart, (or
other big Java library) then you're screwed no matter what.
Am 11/4/2009 10:01 AM, also sprach rtstofer:
> I view C++ as a train wreck. Interesting to watch but not something I would want to be
involved in.
>
>
Baf. You haven't lived until you've eyeball-parsed a 500 character
compiler-generated token trying to figure out what part of it is broken.
dik
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )