Received: from darkside. (darkside. [210.8.201.180]) by mail. (Weasel v1.20) for ; 23 Aug 2001 01:00:00 From: "Digest" To: "OS/2GenAu Digest" Date: Thu, 23 Aug 2001 01:00:00 +1000 (EDT) Priority: Normal X-Mailer: CASMailer 1.0 for OS/2 Warp PPC 1.05 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [os2genau_digest] No. 148 Message-ID: <200108230100.000029G6atmail.> Reply-To: Date:- 23 August 2001 Please reply to ianatos2site dot com to post to the list. A small problem with the list Digest Mode software replacing email address. 1================================================ From: tsqatchariot dot net dot au Date: Tue, 21 Aug 2001 14:25:26 -0800 Subject: [os2genau] Java doesn't like jar files ? Hi All, I have Java 118 latest setup & compiling, but if I try following the directions for some Java apps eg JEdit(Java Editor) The Java runtime gives error jar is not a vaild command line option. Anyone know what the problem might be ? This how the Java section in my config.sys looks: SET JAVA_HOME=E:\JAVA11 SET CLASSPATH=.;%CLASSPATH%;.\.;e:\java11\lib\SecMA.jar;e:\java11\lib\classes.zip; Thanks Glenn. -- ----------------------------------------------------------- tsqatchariot dot net dot au OS/2 Users Group of South Australia www. ----------------------------------------------------------- 2============================================== Date: Tue, 21 Aug 2001 20:41:23 +1000 From: Ed Durrant Subject: Re: [os2genau] Java doesn't like jar files ? Do you also have some statements that look something like the following: SET INCLUDE=C:\JAVAOS2\INCLUDE;C:\JAVAOS2\INCLUDE\OS2; SET LIB=C:\JAVAOS2\LIB; ** I run JAVA 2 (aka 1.3) - so it might not be the same. But I think you are on the right track JAVA isn't finding something it needs. Cheers/2 Ed. tsqatchariot dot net dot au wrote: > Hi All, > > I have Java 118 latest setup & compiling, but if I try following the > directions for some Java apps eg JEdit(Java Editor) The Java runtime gives > error jar is not a vaild command line option. > > Anyone know what the problem might be ? > > This how the Java section in my config.sys looks: > > SET JAVA_HOME=E:\JAVA11 > SET > CLASSPATH=.;%CLASSPATH%;.\.;e:\java11\lib\SecMA.jar;e:\java11\lib\classes.zip; > > Thanks > Glenn. > -- > ----------------------------------------------------------- > tsqatchariot dot net dot au > OS/2 Users Group of South Australia > www. > ----------------------------------------------------------- > 3============================================== From: tsqatchariot dot net dot au Date: Wed, 22 Aug 2001 07:45:41 -0800 Subject: Re: [os2genau] Java doesn't like jar files ? On 08/22/01 at 07:45 AM, Ed Durrant said: ->Do you also have some statements that look something like the following: ->SET INCLUDE=C:\JAVAOS2\INCLUDE;C:\JAVAOS2\INCLUDE\OS2; ->SET LIB=C:\JAVAOS2\LIB; Hi Ed, no I got rid of those pretty quick this time :-)) I have found a reference to swing & jar files, are these two connected somehow ? I'm not sure I have all the required statements in config.sys for swing to be used with netscape, but I didn't think that would affect applications. Thanks Glenn. -- ----------------------------------------------------------- tsqatchariot dot net dot au OS/2 Users Group of South Australia www. ----------------------------------------------------------- 4============================================== Date: Wed, 22 Aug 2001 16:44:55 +1100 From: Ed Durrant Subject: Re: [os2genau] Java doesn't like jar files ? I'm pretty sure Swing is included in Java 1.3 whereas it's an extra download with 1.1.8 - to be honest I don't know what the swing classes are used for - can someone else on the list "please explain" ? Cheers/2 Ed. tsqatchariot dot net dot au wrote: > On 08/22/01 at 07:45 AM, Ed Durrant said: > > ->Do you also have some statements that look something like the following: > > ->SET INCLUDE=C:\JAVAOS2\INCLUDE;C:\JAVAOS2\INCLUDE\OS2; > ->SET LIB=C:\JAVAOS2\LIB; > > Hi Ed, no I got rid of those pretty quick this time :-)) > > I have found a reference to swing & jar files, are these two connected > somehow ? > > I'm not sure I have all the required statements in config.sys for swing to > be used with netscape, but I didn't think that would affect applications. > > Thanks > Glenn. > -- > ----------------------------------------------------------- > tsqatchariot dot net dot au > OS/2 Users Group of South Australia > www. > ----------------------------------------------------------- > 5============================================== Date: Wed, 22 Aug 2001 17:41:03 From: Voytek Eymont Subject: Re: [os2genau] Java doesn't like jar files ? ** Reply to note from Ed Durrant Wed, 22 Aug 2001 16:44:55 +1100 > to be honest I don't know what the swing classes are used for - > can someone else on the list "please explain" i think.... it's do with user interface, buttons, notebooks etc, etc, there is a swing demo jar or whatever, there, somwhere, that shows all that stuff Voytek Eymont SBT Information Systems Pty Ltd http://www.sbt dot net dot au/links/ phone +61-2 9310-1144 fax +61-2 9310-1118 6============================================== From: "Daryl Pilkington" Date: Thu, 23 Aug 2001 00:20:16 +1000 (EST) Subject: Re: [os2genau] Java doesn't like jar files ? Hi Glenn, Ed, Swing provides different style dialog boxes (e.g. Motif), & lots of other groovy stuff. Glenn, my classpath is: SET CLASSPATH=.;.\.;C:\JAVA11\LIB\SecMa.jar;C:\JAVA11\LIB Watch-out for ";" at the end, get rid of it. If it exists, you may end-up with ;; being the classpath if you use %classpath% to prepend the original classpath to your "new & improved" classpath. Now libpath, should have ";" at the end:- its in the IBM OS/2 spec, but classpath shouldn't... Whereas your classpath is: CLASSPATH=.;%CLASSPATH%;.\.;e:\java11\lib\SecMA.jar;e:\java11\lib\classe s.zip; On Wed, 22 Aug 2001 16:44:55 +1100, Ed Durrant wrote: >I'm pretty sure Swing is included in Java 1.3 whereas it's an extra download >with 1.1.8 - to be honest I don't know what the swing classes are used for - >can someone else on the list "please explain" ? > >Cheers/2 >Ed. > Regards, Daryl Pilkington //// The PC-Therapist, Business Computing Integration O OS/2 Warp, Redhat Linux, DB2 IBM Certified Systems Expert email: darylpatpc-therapist dot com dot au ICQ: 91914134 Tel: +61-2-8902-1300 Mob: +61-425-251-300 Fax: +61-2-9411-3720 Mob SMS: 0425251300.0000atorangenet dot com dot au (160 characters max)