• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

Java for os2

Started by eilygre, 2011.03.14, 21:59:17

Previous topic - Next topic

miturbide

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

I've created a WPI for the new JAVA. You could find it on Hobbes.

warpcafe

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

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

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

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

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

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

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

Quote from: David McKenna on 2011.06.29, 02: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

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

Quote from: miturbide on 2011.06.28, 16: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.

  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

#86
Quote from: djcaetano on 2011.06.29, 06:59:07
Quote from: miturbide on 2011.06.28, 16: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.

 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

melf

Quote from: miturbide on 2011.06.29, 03: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


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

cytan

Quote from: miturbide on 2011.06.29, 03: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.



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

Can I assume that there's no JAVA plugin as of now?



cytan