From: Digest <deadmail>
To: "OS/2GenAu Digest"<deadmail>
Date: Sun, 4 Jan 2009 00:00:25 AET-10EDT,10,1,0,7200,4,1,0,7200,3600
Subject: [os2genau_digest] No. 1765
Reply-To: <deadmail>
X-List-Unsubscribe: www.os2site.com/list/

**************************************************
Saturday 03 January 2009
 Number  1765
**************************************************

Subjects for today
 
1  Re:  Java programming : Voytek Eymont" <voytek at sbt dot net dot au>

**= Email   1 ==========================**

Date:  Sat, 3 Jan 2009 01:13:40 +1100 (EST)
From:  "Voytek Eymont" <voytek at sbt dot net dot au>
Subject:  Re:  Java programming


<quote who="Ian Manners">

> Currently you need to install Sun's Java 1.5 under Windows
> and copy the directory structure to OS/2 to replace v1.4.2 and it should
> run with Innowin.
>
> I think it was Ed that gave a summary of how to do it.
> Look in the os2genau mailing list archives or maybe its on
> os2world dot com

Ian, Mike, many thanks

a short lived success:

I managed to get
1[roman][F:\java142\bin]java -version
java version "1.5.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode)


and, I managed to get Pimlical (calendaring app) running on my OS/2
system, well, it comes up with a couple warings, and, an error on
shutdown, but, it does come up


[roman][F:\pimlical]F:\java142\bin\java -classpath
dist\Pimlical.jar;dist\lib\A
soluteLayout.jar;dist\lib\appframework-1.0.3.jar;dist\lib\beansbinding-1.2.1.ja
;dist\lib\swing-layout-1.0.3.jar;dist\lib\swing-worker-1.1.jar
PimlicalMain.Pim
icalApp
/01/2009 01:12:20 org.jdesktop.application.Application create
ARNING: Couldn't set LookandFeel Application.lookAndFeel =
"com.sun.java.swing.
laf.windows.WindowsLookAndFeel"
avax.swing.UnsupportedLookAndFeelException: [The Microsoft Windows Look
and Fee
 - com.sun.java.swing.plaf.windows.WindowsLookAndFeel] not supported on
this pl
tform
       at javax.swing.UIManager.setLookAndFeel(Unknown Source)
       at javax.swing.UIManager.setLookAndFeel(Unknown Source)
       at org.jdesktop.application.Application.create(Application.java:252)
       at org.jdesktop.application.Application$1.run(Application.java:169)
       at java.awt.event.InvocationEvent.dispatch(Unknown Source)
       at java.awt.EventQueue.dispatchEvent(Unknown Source)
       at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)

       at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
       at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
       at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
       at java.awt.EventDispatchThread.run(Unknown Source)

and, null pointer exceptions at shutdown:

FileIO.java:976)
       at
PimlicalUtilities.ReadWriteCalendar.writeCalendarDatabase(ReadWriteCa
endar.java:1320)
       at
PimlicalUtilities.ReadWriteCalendar.doPimlicalExitOperations(ReadWrit
Calendar.java:1270)
       at PimlicalMain.PimlicalApp.shutdown(PimlicalApp.java:31)
       at org.jdesktop.application.Application.exit(Application.java:477)
       at
org.jdesktop.application.SingleFrameApplication$MainFrameListener.win
owClosing(SingleFrameApplication.java:397)
       at java.awt.Window.processWindowEvent(Unknown Source)
       at javax.swing.JFrame.processWindowEvent(Unknown Source)
       at java.awt.Window.processEvent(Unknown Source)
       at java.awt.Component.dispatchEventImpl(Unknown Source)
       at java.awt.Container.dispatchEventImpl(Unknown Source)
       at java.awt.Window.dispatchEventImpl(Unknown Source)
       at java.awt.Component.dispatchEvent(Unknown Source)
       at java.awt.EventQueue.dispatchEvent(Unknown Source)
       at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)

       at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
       at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
       at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
       at java.awt.EventDispatchThread.run(Unknown Source)

[roman][F:\pimlical]




-- 
Voytek

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