This page is no longer maintained — Please continue to the home page at www.scala-lang.org

1.4 support and Java ME

8 replies
Naftoli Gugenheim
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.

Doesn't ending support for Java 1.4 mean it will become impossible to
write apps for phones in Scala?

vpatryshev
Joined: 2009-02-16,
User offline. Last seen 1 year 24 weeks ago.
Re: 1.4 support and Java ME
+1... I kind of counted on it, too.

2009/3/15 Naftoli Gugenheim <naftoligug [at] gmail [dot] com>
Doesn't ending support for Java 1.4 mean it will become impossible to
write apps for phones in Scala?



--
Thanks,
-Vlad
Stepan Koltsov
Joined: 2008-12-20,
User offline. Last seen 42 years 45 weeks ago.
Re: 1.4 support and Java ME

Probably Retrotranslator is your friend.

http://retrotranslator.sourceforge.net/

BTW, are there any real phone applications in Scala? Hello world does not count.

S.

On Mon, Mar 16, 2009 at 03:41, Naftoli Gugenheim wrote:
> Doesn't ending support for Java 1.4 mean it will become impossible to
> write apps for phones in Scala?

vpatryshev
Joined: 2009-02-16,
User offline. Last seen 1 year 24 weeks ago.
Re: 1.4 support and Java ME
Thanks for the hint;
as to the app, I've just started working in a phone app company...

2009/3/15 Stepan Koltsov <stepan [dot] koltsov [at] gmail [dot] com>
Probably Retrotranslator is your friend.

http://retrotranslator.sourceforge.net/

BTW, are there any real phone applications in Scala? Hello world does not count.

S.

On Mon, Mar 16, 2009 at 03:41, Naftoli Gugenheim <naftoligug [at] gmail [dot] com> wrote:
> Doesn't ending support for Java 1.4 mean it will become impossible to
> write apps for phones in Scala?



--
Thanks,
-Vlad
Naftoli Gugenheim
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: 1.4 support and Java ME
  • So what's the difference between Retrotranslator, Retroweaver, and JBossRetro?
  • How much more limited is Java ME than Java 1.4?
  • Mainly, what's the best way to integrate into Eclipse?
I just tried out the Sprint Titan eclipse plugin, so I can program for my Touch Pro. It uses OSGi, so it works with plugin projects.So I need a Scala plugin project that has an extra build step? Should that work? What are the instructions for that? (Then I have to see if it breaks Sprint's functionality, like installing onto the emulator...)
Sorry if these questions are outside of the scope of the list. The important question addressed to the list is if there's anything unique to scala here, I guess...

On Sun, Mar 15, 2009 at 10:38 PM, Vlad Patryshev <vpatryshev [at] gmail [dot] com> wrote:
> Thanks for the hint;
> as to the app, I've just started working in a phone app company...
>
> 2009/3/15 Stepan Koltsov <stepan [dot] koltsov [at] gmail [dot] com>
>>
>> Probably Retrotranslator is your friend.
>>
>> http://retrotranslator.sourceforge.net/
>>
>> BTW, are there any real phone applications in Scala? Hello world does not
>> count.
>>
>> S.
>>
>> On Mon, Mar 16, 2009 at 03:41, Naftoli Gugenheim <naftoligug [at] gmail [dot] com>
>> wrote:
>> > Doesn't ending support for Java 1.4 mean it will become impossible to
>> > write apps for phones in Scala?
>
>
>
> --
> Thanks,
> -Vlad
>

Naftoli Gugenheim
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: 1.4 support and Java ME
  • So what's the difference between Retrotranslator, Retroweaver, and JBossRetro?
  • How much more limited is Java ME than Java 1.4?
  • Mainly, what's the best way to integrate into Eclipse?
I just tried out the Sprint Titan eclipse plugin, so I can program for my Touch Pro. It uses OSGi, so it works with plugin projects.So I need a Scala plugin project that has an extra build step? Should that work? What are the instructions for that? (Then I have to see if it breaks Sprint's functionality, like installing onto the emulator...)
Sorry if these questions are outside of the scope of the list. The important question addressed to the list is if there's anything unique to scala here, I guess...

On Sun, Mar 15, 2009 at 10:38 PM, Vlad Patryshev <vpatryshev [at] gmail [dot] com> wrote:
> Thanks for the hint;
> as to the app, I've just started working in a phone app company...
>
> 2009/3/15 Stepan Koltsov <stepan [dot] koltsov [at] gmail [dot] com>
>>
>> Probably Retrotranslator is your friend.
>>
>> http://retrotranslator.sourceforge.net/
>>
>> BTW, are there any real phone applications in Scala? Hello world does not
>> count.
>>
>> S.
>>
>> On Mon, Mar 16, 2009 at 03:41, Naftoli Gugenheim <naftoligug [at] gmail [dot] com>
>> wrote:
>> > Doesn't ending support for Java 1.4 mean it will become impossible to
>> > write apps for phones in Scala?
>
>
>
> --
> Thanks,
> -Vlad
>

Ben Hutchison 2
Joined: 2009-02-14,
User offline. Last seen 42 years 45 weeks ago.
Re: 1.4 support and Java ME

I would be really interested hear of anyone who has actually written and
deployed a significant J2ME app from Scala (and how you did it).

Basically because I would like to do the same thing myself, but had
assumed that its not feasible. Scala dropped the CDLC compile target
some time ago. Idiomatic Scala will likely generate too many classfiles
to fit on a phone anyway.

Naftoli Gugenheim wrote:
> - So what's the difference between Retrotranslator, Retroweaver, and
> JBossRetro?
>
I didnt know of retrotranslator til now. It looks good.

Retroweaver is older (IMO) abandonware that should not be trusted. I attempted to use it to support Java5 on J2ME, and found that it generated illegal exception tables in some bytecode.

> - How much more limited is Java ME than Java 1.4?
>
Heaps - its another world. No collections, reflection or serialization,
for starters.

> - Mainly, what's the best way to integrate into Eclipse?
>
I greatly enjoy using EclipseME. Retroguard obfuscator is another
excellent tool.

-Ben

Naftoli Gugenheim
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: 1.4 support and Java ME
On Wed, Mar 18, 2009 at 10:18 PM, Ben Hutchison <benh [at] ibsglobalweb [dot] com> wrote:
Basically because I would like to do the same thing myself, but had assumed that its not feasible. Scala dropped the CDLC compile target some time ago. Idiomatic Scala will likely generate too many classfiles to fit on a phone anyway.
 
  - How much more limited is Java ME than Java 1.4?
Heaps - its another world. No collections, reflection or serialization, for starters.


I assume that both points refer to CLDC. I should have been more clear that I'm fine with CDC. Thanks!
Naftoli Gugenheim
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: 1.4 support and Java ME
On Wed, Mar 18, 2009 at 10:18 PM, Ben Hutchison <benh [at] ibsglobalweb [dot] com> wrote:
Basically because I would like to do the same thing myself, but had assumed that its not feasible. Scala dropped the CDLC compile target some time ago. Idiomatic Scala will likely generate too many classfiles to fit on a phone anyway.
 
  - How much more limited is Java ME than Java 1.4?
Heaps - its another world. No collections, reflection or serialization, for starters.


I assume that both points refer to CLDC. I should have been more clear that I'm fine with CDC. Thanks!

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland