Re:vnr and swing

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re:vnr and swing

Martin Lafaix

> From: "Terry Norton" <[hidden email]>
> What's the proper way to set of the environment for Swing *.jar files?
> I've listed each one separately in the CLASSPATH.  This stopped the
> error messages when I ran vnr.cmd, but now when I run it I just get a
> window with a blinking cursor.

Assuming the SWING_HOME environment variable defined, the
following should work (I splited the lines, you'll have to rejoin
them):

java -classpath ".;%SWING_HOME%;%SWING_HOME%\swing.jar;
%SWING_HOME%\windows.jar;%SWING_HOME%\motif.jar;%SWING_HOME%\jlf.jar;
%SWING_HOME%\mac.jar;%SWING_HOME%\1.1_libs\swing.jar;
%SWING_HOME%\1.1_libs\windows.jar;%SWING_HOME%\1.1_libs\motif.jar;
%SWING_HOME%\1.1_libs\jlf.jar;%SWING_HOME%\1.1_libs\mac.jar;
%CLASSPATH%" vnr.ide.VisualNetRexx dion password

[Be sure %JAVA_HOME%\lib\classes.zip is present in your
 CLASSPATH, too.  And, you may have to disable the JIT compiler
 by defining something like SET JAVA_COMPILER=none.]


Martin
--
[hidden email]
Team OS/2
http://wwwi3s.unice.fr/~lafaix/os2.html

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>

Reply | Threaded
Open this post in threaded view
|

Re:vnr and swing

dIon Gillard/Multitask Consulting/AU
At 12:03 9/01/98 +0100, Martin Lafaix wrote:
>
>> I've listed each one separately in the CLASSPATH.  This stopped the
>> error messages when I ran vnr.cmd, but now when I run it I just get a
>> window with a blinking cursor.
>
> CLASSPATH, too.  And, you may have to disable the JIT compiler
> by defining something like SET JAVA_COMPILER=none.]
Martin, this last statement is CRUCIAL if you're running on OS/2. I hadn't
noticed, as I turn it off by default as I've had so much hassle with it.

To anyone using the feedback drop of VNR under OS/2:
        Please turn off the JIT when running VNR.

I've updated the vnr.zip and am uploading it as I type :)
dIon Gillard
Sun Certified Java 1.1 Programmer
Work: http://www.multitask.com.au
NetRexx: http://www.multitask.com.au/netrexx
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>

Reply | Threaded
Open this post in threaded view
|

Java and OS/2 3.0

mcbrides
In reply to this post by Martin Lafaix
In reguards to the latest drop of the JDK114 upgrade. Has anyone running OS/2
3.0 had problems with it?

Also, I've been doing some heavy text mode programming in NetRexx of late and
was wondering if I'm the only one using ANSI control codes to update the
console? <G>



--

/-------------------------------------\
| Jerry McBride  ([hidden email]) |
\-------------------------------------/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>