maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Instant Coffee - Packaging Java Applications for Fremantle (https://talk.maemo.org/showthread.php?t=51871)

rash.m2k 2010-05-05 08:47

Re: Instant Coffee - Packaging Java Applications for Fremantle
 
What would probably be better is a script to automatically download and install the embedded sun version of java for ARM - that way we just just click to re-install it once the trial runs out.

I have got opera mini running on my N900 and it would be great if there was a script to download and install everything for us.

joppu 2010-05-05 08:48

Re: Instant Coffee - Packaging Java Applications for Fremantle
 
Does this support Java 2 Micro Edition?

shiny 2010-05-05 09:01

Re: Instant Coffee - Packaging Java Applications for Fremantle
 
Quote:

Originally Posted by Wonko (Post 644137)
That someone would be me ;)
I'm working on packaging that one too.

You know what? I wrote that reply on the bus (on my N900, of course) and then it occurred to me after I'd sent it that it probably was, and I'd made an idiot of myself :) And I was right :D

Sounds fantastic, anyway - look forward to testing it all out sometime :)

Wonko 2010-05-05 17:15

Re: Instant Coffee - Packaging Java Applications for Fremantle
 
Quote:

Originally Posted by rash.m2k
What would probably be better is a script to automatically download and install the embedded sun version of java for ARM - that way we just just click to re-install it once the trial runs out.

I have got opera mini running on my N900 and it would be great if there was a script to download and install everything for us.

Well I don't know what license and/or legal issues this implies.
So for me I do not plan to write such a script like you describe it nor do I plan to package this version.

Quote:

Originally Posted by joppu
Does this support Java 2 Micro Edition?

You might want to have a look at http://www.microemu.org/
Also have a look at the general Java thread http://talk.maemo.org/showthread.php?t=37405
I think MicroEmulator got also discussed in that thread.
But please do not discuss the details in here as this thread is only about packaging Java applications.

Quote:

Originally Posted by shiny
You know what? I wrote that reply on the bus (on my N900, of course) and then it occurred to me after I'd sent it that it probably was, and I'd made an idiot of myself And I was right

Hehe, I know that feeling. I'm sometimes not so good in remembering names either. ;)

Wonko 2010-05-05 19:19

Re: Instant Coffee - Packaging Java Applications for Fremantle
 
Alright,
icedtea6 is now in the free repository (thanks again to MohammadAG for the hint) and I promoted the packages uploaded so far to testing.

mikec 2010-05-05 19:48

Re: Instant Coffee - Packaging Java Applications for Fremantle
 
Any chance you can package up a simple java app that has icedtea as a dependancy. Then all i need to do is intall app and the whole java stack gets bootstrapped in:D

kamishly 2010-05-05 19:56

Re: Instant Coffee - Packaging Java Applications for Fremantle
 
Does it support a Java Applet?

Is there a chance to have it?


Quote:

Originally Posted by Wonko (Post 643103)
Hi,

I started to package some Java applications to put these up in the repository.
The idea is to write scripts which allow the easy and reproducible creation of *.deb files for upload to the repository.
The scripts are available at https://garage.maemo.org/projects/instant-coffee/

So far I uploaded the Cambridge Software Labs version of the OpenJDK to extras-devel non-free (package name icedtea6) and Ant to extras-devel.
Reason for calling the OpenJDK version "icedtea6" is that the output of "java -version" reports it as "icedtea6".

I hope that everything is correct so far.
Especially licensing issues are not that easy to grasp.

Every feedback/support is highly appreciated.


Best regards

Wonko


Wonko 2010-05-06 09:06

Re: Instant Coffee - Packaging Java Applications for Fremantle
 
Quote:

Originally Posted by mikec (Post 645087)
Any chance you can package up a simple java app that has icedtea as a dependancy. Then all i need to do is intall app and the whole java stack gets bootstrapped in:D

Unfortunately I am quite short of time at the moment.
But you can also start packaging yourself. Just have a look at the package scripts in the Instant Coffee Subversion
https://garage.maemo.org/scm/?group_id=1578
If it is "just" a common Java application with no other dependencies than Java itself, packaging it should be straight forward.

Quote:

Originally Posted by kamishly
Does it support a Java Applet?

I dont't really know what you mean.
I tested to run an Applet as application using the sample code from http://www.wutka.com/hackingjava/ch1...sanApplication and it basically works.
Don't know though if it's that what you mean.
Also please note that this thread is supposed to be about packaging and not discussing Applets.

shiny 2010-05-06 09:24

Re: Instant Coffee - Packaging Java Applications for Fremantle
 
Well, basic programs certainly work. Just installed icedtea6, wrote a quick class in the Terminal, compiled and ran it. Excellent :)

Wonko 2010-05-08 17:20

Re: Instant Coffee - Packaging Java Applications for Fremantle
 
Inspired by this article http://maemoarena.com/2010/05/nokia-...emoed-in-n900/ I added MicroEmulator.
Also I added my own to-do list application To-Do-O ;)


All times are GMT. The time now is 04:06.

vBulletin® Version 3.8.8