WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Do anyone need a Java extension?  (Read 3683 times)

Offline helander

  • Full Member
  • ***
  • Posts: 183
Do anyone need a Java extension?
« on: January 23, 2010, 08:23:52 PM »
I have created an extension that contains the Apache Harmony JDK+JRE. Before I submit it to the TC repo, I would like to understand if there is any need for this extension within the community. It's rather big (+50MB) compared to the majority of existing extensions in the repo, and if no one is interested we should not waste repo space and bandwidth.
Further, i would like to know what people would be using it for so that i can tailor the packaging to these needs.

/Lars

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Do anyone need a Java extension?
« Reply #1 on: January 23, 2010, 08:30:18 PM »
I would suggest separating the JRE and the JDK.

Offline helander

  • Full Member
  • ***
  • Posts: 183
Re: Do anyone need a Java extension?
« Reply #2 on: January 23, 2010, 08:36:56 PM »
That was my first thought, but when I realized that the JRE was 45MB and the JDK 53MB, it was not so obvious any longer. However it is still an option :).

One fairly simple thing to do is to split the class library into smaller pieces, e.g. put awt and swing classes in a separate extension in case some people only use Java in non-GUI environments (or in pure SWT environments). But before entering that path I would like to know if anyone would benefit from that.

/Lars

Offline Pats

  • Sr. Member
  • ****
  • Posts: 322
Re: Do anyone need a Java extension?
« Reply #3 on: January 24, 2010, 12:59:52 AM »
Presently I use RH9 to develop threaded apps in Java.
Secondly many of us here have to switch either to XP or RH or Knoppix for our need of online live charts on net.
So it will be a welcome step, if you make this Java Ext available in  the repo (either JRE+JDK or in seaparately).
Sooner or later the needy ones will start exploring it.
Thnks for yr efforts !
~ Pats

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11022
Re: Do anyone need a Java extension?
« Reply #4 on: January 24, 2010, 06:15:47 AM »
While it seems to be Java 5-compatible, there's no java extension currently - thus it would be good to have.
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Do anyone need a Java extension?
« Reply #5 on: January 24, 2010, 08:04:05 AM »
While at the moment I do not need Java, time to time it is required to test applications. I have several multiplatform clients written in Java used in corporate environment.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Magil

  • Newbie
  • *
  • Posts: 13
Re: Do anyone need a Java extension?
« Reply #6 on: January 25, 2010, 04:43:21 AM »
I use Java + Tomcat on TCL, an extension should be awesome. Also meybe it would be smaller to use openjdk, I havent tried this myself yet, as size isnt that importent for me, just a thought.

Offline helander

  • Full Member
  • ***
  • Posts: 183
Re: Do anyone need a Java extension?
« Reply #7 on: January 25, 2010, 07:05:48 AM »
So far what I have seen openjdk becomes bigger than harmony.

I think I have tried most, if not all, available Java implementations that are "free" or close to "free". The only one that I have been able to build (and that works once being built) is harmony. Icedtea, is is probably the most promising alternative since it tries to address all the "non-free" issues that openjdk has, but builds on openjdk. The problem at this point is that I experience a number of build problems with icedtea.

I will probably continue (if time allows) to get a working icedtea build, but until that happens, I can make harmony available to the community.

/Lars

Offline Magil

  • Newbie
  • *
  • Posts: 13
Re: Do anyone need a Java extension?
« Reply #8 on: January 28, 2010, 04:17:54 AM »
Hey Lars, I would very musch like to try your version as mine takes up 100mb. Size isnt that important for me, but a smaller build would boot a lot faster. Great work!

Offline helander

  • Full Member
  • ***
  • Posts: 183
Re: Do anyone need a Java extension?
« Reply #9 on: January 29, 2010, 11:02:31 AM »
Hey Lars, I would very musch like to try your version as mine takes up 100mb. Size isnt that important for me, but a smaller build would boot a lot faster. Great work!

Magil,

Size should not affect the boot time, unless you are copying package contents to RWM. Boot time is affected by number of files in the extension and not the size.

/Lars

Offline helander

  • Full Member
  • ***
  • Posts: 183
Re: Do anyone need a Java extension?
« Reply #10 on: January 29, 2010, 11:08:05 AM »
I have managed to build openjdk-7 and it seems to work fine (ran a short session with eclipse). The sizes are currently:

JDK 76 MB
JRE 38 MB

I will look into how these might be split in multiple extensions.

/Lars

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: Do anyone need a Java extension?
« Reply #11 on: January 29, 2010, 05:51:57 PM »
Wouldn't version 6 be more desired at this time, since v7 is still under development (afaik)?

Offline helander

  • Full Member
  • ***
  • Posts: 183
Re: Do anyone need a Java extension?
« Reply #12 on: January 29, 2010, 06:13:02 PM »
Wouldn't version 6 be more desired at this time, since v7 is still under development (afaik)?

Yes, it would. However the version 6 build failed while the version 7 built without problems. My plan is to submit version 7 soon (within a day or two) and then try to get the version 6 to build without failure. If I get version 6 to build I plan to submit that too. Users would then be able to either pick openjdk-6 or openjdk-7.


Currently I have the following extensions for openjdk-7

openjdk-7-jdk.tcz                13 Mbyte
openjdk-7-jre.tcz                34 Mbyte
openjdk-7-jdk-misc.tcz        24 MByte
openjdk-7-jre-server.tcz        4 Mbyte

openjdk-7-jre-server is only needed if the jvm is to run in server mode.
openjdk-7-jdk-misc contains man pages, samples and demos (stuff not required at run-time)
openjdk-7-jdk depends on openjdk-7-jre

/Lars