OS2World OLD-STATIC-BACKUP Forum

WebSite Information => Article Discussions => Topic started by: djcaetano on 2010.10.02, 15:12:33

Title: Java 6 for eComStation - 1.6.0-b13 Alpha
Post by: djcaetano on 2010.10.02, 15:12:33
http://www.os2world.com/content/view/20240/2/ (http://www.os2world.com/content/view/20240/2/)
QuotePosted by Martin Iturbide - Friday, 01 October 2010


The Java . .. .

  Hey, thanks, man! This is VERY cool. :)
  As a Java developer, this is very good news indeed.
  I am having some trouble with it - probably because there are references to Java 1.4.2 on path / libpath - but I'll try again later.
Title: Re: Java 6 for eComStation - 1.6.0-b13 Alpha
Post by: miturbide on 2010.10.07, 17:06:32
Hi Daniel !!

Well, it says "It can only compile and run console Java applications, AWT and Swing classes are not yet available.", it still alpha but it is pretty good to see the progress.

I hope once the Java port get finished, that this can also help port SWT to have eclipse running on ecs-os2.

Martin
Title: Re: Java 6 for eComStation - 1.6.0-b13 Alpha
Post by: diver on 2010.10.08, 16:18:45
to clarify, it's 1.6.0-b19 not b13

regards
Silvan
Title: Re: Java 6 for eComStation - 1.6.0-b13 Alpha
Post by: djcaetano on 2010.10.09, 16:45:18
Quote from: diver on 2010.10.08, 16:18:45
to clarify, it's 1.6.0-b19 not b13
regards
Silvan

  Hi Silvan,

  After some minor changes and setting CLASSPATH=.; OpenJDK / Java 1.6 is now working successfully. I built some simple command line programs without problems. Is there any kind of specific tests I could perform to help you on the development?

  Thanks for the marvelous work!

  Daniel Caetano
Title: Re: Java 6 for eComStation - 1.6.0-b13 Alpha
Post by: diver on 2010.10.11, 19:14:52
not really special tests. just test as many java cmdline apps as possible. and all what you find which does not work needs a ticket.
Title: Re: Java 6 for eComStation - 1.6.0-b13 Alpha
Post by: abwillis on 2010.10.14, 22:01:50
Does SWT require either Swing or AWT? 
Title: Re: Java 6 for eComStation - 1.6.0-b13 Alpha
Post by: lpino on 2010.10.15, 14:24:41
Quote from: abwillis on 2010.10.14, 22:01:50
Does SWT require either Swing or AWT? 
No, but I doubt the port will work with this version of Java since it's based on Window code (ODIN 32). Still, it would be worth to try it.

Leonardo Pino
Title: Re: Java 6 for eComStation - 1.6.0-b13 Alpha
Post by: lpino on 2010.10.22, 20:51:00
Quote from: diver on 2010.10.11, 19:14:52
not really special tests. just test as many java cmdline apps as possible. and all what you find which does not work needs a ticket.
Trying the release I get:
Error loading: <%path%>\jre\bin\client\jvm.dll

Anything obvious missing?

Thanks
Title: Re: Java 6 for eComStation - 1.6.0-b13 Alpha
Post by: diver on 2010.10.23, 10:32:19
please give us as much info as possible. but not here, we need for everything a ticket.

http://svn.netlabs.org/java

regards
Silvan
Java project lead
Title: Re: Java 6 for eComStation - 1.6.0-b13 Alpha
Post by: djcaetano on 2010.10.23, 15:55:33
Quote from: lpino on 2010.10.22, 20:51:00
Trying the release I get:
Error loading: <%path%>\jre\bin\client\jvm.dll

Anything obvious missing?
Thanks

  I had this kind of problem before I did two things:

1) Installed new Odin
2) Rebooted
3) Defined the environment as following:

set PATH=c:\programs\java160\bin;c:\odin\system32;%PATH%
set BEGINLIBPATH=c:\programs\java160\bin;c:\odin\system32;%BEGINLIBPATH%
set CLASSPATH=.;

  Regards!