• 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

abwillis

Quote from: miturbide on 2011.07.20, 02:58:00
Joop , there is bug we have with the Joomla and SMF forum integration.
Visit this forum thread directly from os2world.com/forum
or
http://www.os2world.com/forum/index.php/topic,3092.msg20228.html#msg20228

You will see all the missing/broken pages accessing directly the SMF forum script.
I keep seeing messages about being able to view it directly but have never had that make a difference.

Joop

I tried for some time now the Java program "JOE" which stands for Java Outline Editor or in short "JOE". I have errors with *ALL* versions 1.8.10.whatever. I had to go back to 1.8.9.2 to get it working. I did know I had it working once, so I tried every version and if it fails try one version before and so on. I want to know if you have also problems with version 1.8.10.whatever. The Java version is irrelevant because even the latest should do it with Java 1.4.2. I have now 1.8.9.2 running with Java 1.4.2. The versions can be downloaded from this page http://sourceforge.net/projects/outliner/files/outliner/ .

miturbide

I still can not make Jajuk Advanced Jukebox to run.
http://jajuk.info

It gave me this message:

java.lang.NoClassDefFoundError: org/jdesktop/swingx/util/OS
        at org.jajuk.util.UtilSystem.<clinit>(UtilSystem.java:165)
        at org.jajuk.Main.setSystemProperties(Main.java:254)
        at org.jajuk.Main.main(Main.java:85)
Caused by: java.lang.ClassNotFoundException: org.jdesktop.swingx.util.OS
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        ... 3 more
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Priority
        at org.jajuk.Main.main(Main.java:237)
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Priority
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        ... 1 more

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

Skype - martiniturbide
Google Talk - martiniturbide@gmail.com

miturbide

#108
Stendhal is working nice with Java.
http://arianne.sourceforge.net/game/stendhal.html
Martín Itúrbide
OS2World.com NewsMaster
Open Source Advocate

Skype - martiniturbide
Google Talk - martiniturbide@gmail.com

miturbide

Buddi seems to work fine too, the only issue is that it does not lauch the browser for the reports, but it generate the reports on the \home\<user>\.buddi\reports\report\index.html directory.

http://buddi.digitalcave.ca/screenshots.jsp

"Buddi is a personal finance and budgeting program, aimed at those who have little or no financial background. "
Martín Itúrbide
OS2World.com NewsMaster
Open Source Advocate

Skype - martiniturbide
Google Talk - martiniturbide@gmail.com

gap

I have sort of mad Jajuk run.

There was allot of jar files needed to do this.

One problem is the Swing screens do not refresh correctly. This seems to be a common problem.

The complete working set along can be pulled from
http://71.246.225.60/jajuk.html

here is the size:
7-31-11 12:27a    65,687,895      0 a---  jajuk.zip

miturbide

I run jajuk.cmd and it loaded the JAva app and tried to run the WinOS2 Media Player ;)

The swing screens don't load/look fine as you say.

Which components did you find it was missing? Is it a problem of the OpenJDK or is it that JAJUK uses something that we still don't have ported?
Martín Itúrbide
OS2World.com NewsMaster
Open Source Advocate

Skype - martiniturbide
Google Talk - martiniturbide@gmail.com

Andi

Openfire seems to run fine. This is a free jabber server. There's a bug in trac about crashes. Maybe I've to less traffic here to reproduce it. Anyway this is my .cmd to start it -

@echo off
REM ***************************************************************************
REM
REM OS/2 - eComStation script to launch OpenFire Jabber server
REM
REM   20110731 Andreas Buchinger - inital
REM
REM ***************************************************************************


REM ***************************************************************************
REM setting up JAVA enviroment via external script, something like this -
REM set libpathstrict=T
REM set path=p:\java6\bin;%PATH%
REM SET JAVA_HOME=P:\Java6
REM set BEGINLIBPATH=%JAVA_HOME%\bin;
REM ***************************************************************************

call envjava6.cmd


REM ***************************************************************************
REM
REM set up needed enviroment and startup variables
REM
REM CHANGE THE PATH TO YOUR OPENFIRE INSTALLATION HERE
REM
REM ***************************************************************************

set OPENFIRE_HOME=p:\openfire

set OPENFIRE_LOGDIR=%OPENFIRE_HOME%\logs
set OPENFIRE_LIB=%OPENFIRE_HOME%\lib
set OPENFIRE_OPTS=-DopenfireHome=%OPENFIRE_HOME% -Dopenfire.lib.dir=%OPENFIRE_LIB%
set LOCALCLASSPATH=%OPENFIRE_LIB%\startup.jar;%CLASSPATH%


REM ***************************************************************************
REM
REM   and start openfire server
REM
REM ***************************************************************************

java -server %OPENFIRE_OPTS% -classpath %LOCALCLASSPATH% -jar %OPENFIRE_HOME%\lib\startup.jar

Andi

Jajuk does not work for me but leaves a popuplog.os2 entry -

------------------------------------------------------------

07-31-2011  17:26:38  SYS3175  PID 00b5  TID 0004  Slot 0156
P:\JAVA6\BIN\JAVA.EXE
c0000005
1c40cb11
P1=00000001  P2=00000000  P3=XXXXXXXX  P4=XXXXXXXX 
EAX=00000000  EBX=00000000  ECX=ffffffeb  EDX=0523f4d0
ESI=0523f4d0  EDI=0523f6c0 
DS=0053  DSACC=f0f3  DSLIM=ffffffff 
ES=0053  ESACC=f0f3  ESLIM=ffffffff 
FS=289f  FSACC=00f3  FSLIM=00000fff
GS=0000  GSACC=****  GSLIM=********
CS:EIP=005b:1c40cb11  CSACC=f0df  CSLIM=ffffffff
SS:ESP=0053:0523f484  SSACC=f0f3  SSLIM=ffffffff
EBP=0523f49c  FLG=00010246

JVM.DLL 0001:0034cb11

miturbide

JMCAD seems to run fine.

"JMCAD is an program for the modeling and simulation of complex dynamic systems."
http://jmcad.sourceforge.net/
Martín Itúrbide
OS2World.com NewsMaster
Open Source Advocate

Skype - martiniturbide
Google Talk - martiniturbide@gmail.com

Andi

Quote from: miturbide on 2011.07.31, 18:01:08
I run jajuk.cmd and it loaded the JAva app and tried to run the WinOS2 Media Player ;)

The swing screens don't load/look fine as you say.

Which components did you find it was missing? Is it a problem of the OpenJDK or is it that JAJUK uses something that we still don't have ported?


You have to configure the path to mplayer. Then it starts working. Not played very much with it so can't say if all works.

RobertM

Quote from: Andi on 2011.07.31, 21:19:37
Quote from: miturbide on 2011.07.31, 18:01:08
I run jajuk.cmd and it loaded the JAva app and tried to run the WinOS2 Media Player ;)

The swing screens don't load/look fine as you say.

Which components did you find it was missing? Is it a problem of the OpenJDK or is it that JAJUK uses something that we still don't have ported?


You have to configure the path to mplayer. Then it starts working. Not played very much with it so can't say if all works.

Another alternative that will help system-wide is to add the mplayer paths into your config.sys *before* the WinOS2 paths.


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|


gap

Quote from: miturbide on 2011.07.31, 18:01:08
I run jajuk.cmd and it loaded the JAva app and tried to run the WinOS2 Media Player ;)

The swing screens don't load/look fine as you say.

Which components did you find it was missing? Is it a problem of the OpenJDK or is it that JAJUK uses something that we still don't have ported?


Originally jajuk had this jar:
jajuk.jar

These were added to make it work:
animation-1.2.0.jar
basicplayer-3.0.jar
commons-collections-3.2.1.jar
commons-io-2.0.1.jar
commons-lang-2.6.jar
contrib_junit_junit-4.6.jar
jaudiotagger-2.0.3.jar
jcommon-1.0.16.jar
jfreechart-1.0.13.jar
last.fm-bindings.jar
lobo-pub.jar
lobo.jar
log4j-1.2.16.jar
miglayout-3.7.4-swing.jar
substance-5.3.jar
swingx-core-1.6.2-2.jar
vldocking_3.0.0.jar

and everything is the ext directory. The one jar I know was used from this directory is:
cobra-no-commons.jar


greg


miturbide

I also tested CADEMIA.

http://www.cademia.org/frontend/index.php?sub=29

"CADEMIA is a modern CAD system with a full functionality for civil engineering and architecture".

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

Skype - martiniturbide
Google Talk - martiniturbide@gmail.com

miturbide

I had posted more screenshots of Java apps tested with OpenJDK 6 under eCS.
http://www.os2world.com/gallery/v/progs/java/

Keep posting more tests.
Martín Itúrbide
OS2World.com NewsMaster
Open Source Advocate

Skype - martiniturbide
Google Talk - martiniturbide@gmail.com