Author Topic: Java for os2  (Read 60849 times)

miturbide

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1154
    • View Profile
    • OS2World
Re: Java for os2
« Reply #75 on: 2011.06.28, 15:55:28 »
OpenJDK Ga is now available for download: http://svn.netlabs.org/java

Please post any Java software you are testing on this thread.
Martín Itúrbide
OS2World.com NewsMaster
Open Source Advocate

Skype - martiniturbide
Google Talk - martiniturbide@gmail.com

Batchheizer

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Java for os2 - WPI
« Reply #76 on: 2011.06.28, 17:02:08 »
I've created a WPI for the new JAVA. You could find it on Hobbes.

warpcafe

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 746
  • Failure is not an option.
    • View Profile
Re: Java for os2
« Reply #77 on: 2011.06.28, 18:11:45 »
Hi,

I start to believe that the forum software here is missing the important feature of "LIKE" buttons. :-)

Great job guys, kudos to Silvan and Dmitry.
Hopefully we will be able to give them the missing money somehow.

Cheers,
Thomas
"It is not worth an intelligent man's time to be in the majority.
By definition, there are already enough people to do that"
- G.H. Hardy

sXwamp

  • Full Member
  • ***
  • Posts: 228
    • View Profile
    • OS/2 Release Notes
Re: Java for os2
« Reply #78 on: 2011.06.28, 20:15:13 »
Updated: my Java 6 page here:

http://www.os2notes.com/os2java6.html

This page has some zip packages too, for the programs that have Win only installers !

Please leave any comments and programs that you have working -- with settings you use :)


Cheers,

Greggory

cytan

  • Full Member
  • ***
  • Posts: 213
    • View Profile
Re: Java for os2
« Reply #79 on: 2011.06.28, 23:22:06 »
Hi guys,
   I'm trying out the JAVA 1.6 for the first time. How do I run a jnlp file? According to google I need javaws but I only see javaw in the distribution. And running
             javaw program.jnlp
gives me "Could not find the main class: program.jnlp. Program will terminate".

Any help appreciated.

cytan
 

ppgrainbow

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • Insomnia Oekaki
Re: Java for os2
« Reply #80 on: 2011.06.28, 23:34:27 »
Awesome work on getting OpenJDK 1.6 to work on OS/2. Infact, I need to test out some of the Java apps on my OS/2 Warp 4 Fixpack 15-based VM under Virtual PC 2004! :D

However, some of the apps that used to work in Java 1.4.2_09 no longer work in Java 1.6u22. For example, when I try to run the GUI version of the Logical Volume Manager Tool, I get a SYS3170 with the following error on exit:

"SYS1808: The process has stopped.  The software diagnostic code (exception code) is 0053."

SYS1808 means that programme generated an exception that the system cannot resolve.  The software diagnostic code allows determination of what type of exception was generated.

Is there a way to fix this?  ???

Other software that runs Java appears to run okay without problems.

David McKenna

  • Full Member
  • ***
  • Posts: 130
    • View Profile
Re: Java for os2
« Reply #81 on: 2011.06.29, 01:21:36 »
ppgrainbow,

 Both the LVM tool and the TCP/IP configuration tool do not work with this version of Java. This is a known issue and is marked for an 'Enhanced' release (if it can be fixed). It would be interesting if someone could try them using Java6 on a different platform to see if they work there. It is hard to see how Java6 could be made the default Java if these can not be made to work (unless they are replaced with some other app).

@cytan: jnlp I believe needs Java Web Start and that is not available with this release (see README). It is marked for a GA2 release - see http://svn.netlabs.org/java/roadmap

Regards,

Dave McKenna

miturbide

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1154
    • View Profile
    • OS2World
Re: Java for os2
« Reply #82 on: 2011.06.29, 02:05:39 »
About JNLP, it is not included in OpenJDK AFAIK. I tried some other JNLP java clones like OpenJNLP, netx and xito but I didn-t find them interesting. The ones that work I don't know how to load a JNLP file. Possible you also should try it and tell your experience.

About LVM tool and the TCP/IP configuration tool I think we need a replacement (preferable open source) for those modules. I don't think it had been updated in a long while.

I was trying I2P Anonymous Network (http://www.i2p2.de/), but the installer is not extracting any files. But it was interesting that you can do a "java -jar i2pinstall_0.8.6.exe" to a windows exe file.. very interesting.  Anybody that makes it work, please let me know.

Martín Itúrbide
OS2World.com NewsMaster
Open Source Advocate

Skype - martiniturbide
Google Talk - martiniturbide@gmail.com

miturbide

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1154
    • View Profile
    • OS2World
Re: Java for os2
« Reply #83 on: 2011.06.29, 02:58:36 »
I just notice that on the Java SVN there is a screenshot of LAoE, which looks interesting too. I also need to test it further.

LAoE is open source (GNU GPL)
http://www.oli4.ch/laoe/home.html
Martín Itúrbide
OS2World.com NewsMaster
Open Source Advocate

Skype - martiniturbide
Google Talk - martiniturbide@gmail.com

ppgrainbow

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • Insomnia Oekaki
Re: Java for os2
« Reply #84 on: 2011.06.29, 03:31:38 »
ppgrainbow,

 Both the LVM tool and the TCP/IP configuration tool do not work with this version of Java. This is a known issue and is marked for an 'Enhanced' release (if it can be fixed). It would be interesting if someone could try them using Java6 on a different platform to see if they work there. It is hard to see how Java6 could be made the default Java if these can not be made to work (unless they are replaced with some other app).

@cytan: jnlp I believe needs Java Web Start and that is not available with this release (see README). It is marked for a GA2 release - see http://svn.netlabs.org/java/roadmap

Regards,

Dave McKenna

LVM previously worked in Java 1.4.2_09 and the LVM utilites have not been updated since January 2006 (more than five years ago. I'm hoping that LVM can work again in the Enhanced release of Java 6 if it can be fixed, if it can't...then LVM/TCPCFG2 will most likely be dropped and marked a WONTFIX since it would require too much work, I believe. :(

There are a lot of things that don't work with Java6 for the time being and I'm hoping that it's more stable enough so that it can replace the already obsolete Java 1.4.2_09.

djcaetano

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Re: Java for os2
« Reply #85 on: 2011.06.29, 05:59:07 »
OpenJDK Ga is now available for download: http://svn.netlabs.org/java

Please post any Java software you are testing on this thread.

  I was able to run NetBeans 6.9.1 on it, but can't build / run; when I try "Build and Run"
I am receiving a "Java executable not found". When trying to build (only), after some
hard disk activity, an "error icon" is shown with the following message: "Unexpected
exception".
  LPino said he was able to run NetBeans 5 with Java 1.4.1 and 1.4.2; I was not (at
least I not reliably) but never received any answer when asking for correct CMD files.

  Anyone has had a better result?

  Regards!

sXwamp

  • Full Member
  • ***
  • Posts: 228
    • View Profile
    • OS/2 Release Notes
Re: Java for os2
« Reply #86 on: 2011.06.29, 06:31:13 »
OpenJDK Ga is now available for download: http://svn.netlabs.org/java

Please post any Java software you are testing on this thread.

  I was able to run NetBeans 6.9.1 on it, but can't build / run; when I try "Build and Run"
I am receiving a "Java executable not found". When trying to build (only), after some
hard disk activity, an "error icon" is shown with the following message: "Unexpected
exception".
  LPino said he was able to run NetBeans 5 with Java 1.4.1 and 1.4.2; I was not (at
least I not reliably) but never received any answer when asking for correct CMD files.

  Anyone has had a better result?

  Regards!


For NetBean 5 only -- just edit the 'netbeans.conf' file to point to the Java version that
you want to use. Its in the ETC of the Netbeans install directory. This way you can
easily change what version of Java to use.

Then use the CMD file in the bin directory to start Netbeans 5, no editing necessary
for the CMD file


Greggory
« Last Edit: 2011.06.29, 06:34:18 by sXwamp »

melf

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 606
    • View Profile
Re: Java for os2
« Reply #87 on: 2011.06.29, 13:36:34 »
I just notice that on the Java SVN there is a screenshot of LAoE, which looks interesting too. I also need to test it further.

LAoE is open source (GNU GPL)
http://www.oli4.ch/laoe/home.html


Noticed that too Martin, really exciting. Have downloaded it, seems VERY feature rich. A needed software.
/Mikael

cytan

  • Full Member
  • ***
  • Posts: 213
    • View Profile
Re: Java for os2
« Reply #88 on: 2011.06.29, 16:49:21 »
About JNLP, it is not included in OpenJDK AFAIK. I tried some other JNLP java clones like OpenJNLP, netx and xito but I didn-t find them interesting. The ones that work I don't know how to load a JNLP file. Possible you also should try it and tell your experience.

About LVM tool and the TCP/IP configuration tool I think we need a replacement (preferable open source) for those modules. I don't think it had been updated in a long while.

I was trying I2P Anonymous Network (http://www.i2p2.de/), but the installer is not extracting any files. But it was interesting that you can do a "java -jar i2pinstall_0.8.6.exe" to a windows exe file.. very interesting.  Anybody that makes it work, please let me know.



netx seems to work, but had to add -nosecurity option. I could get OpenJNLP to start but not run the jnlp programme, probably some switches need to be thrown.

Fantastic that java6 is now available for OS/2!

cytan

cytan

  • Full Member
  • ***
  • Posts: 213
    • View Profile
Re: Java for os2
« Reply #89 on: 2011.06.29, 16:56:56 »
Can I assume that there's no JAVA plugin as of now?



cytan