Article View: borland.public.jbuilder.java.language
Article #19932Re: Deployment of .JAR = Class not found
From: Budi Santoso
Date: Thu, 27 Nov 1997 00:00
Date: Thu, 27 Nov 1997 00:00
52 lines
1746 bytes
1746 bytes
Hai Frank,
After you set CLASSPATH in AUTOEXEC.BAT properly (don't forget to include
".;" preceding all classpathes, e.g. Set
Classpath=.;c:\jbuilder\java\bin;etc)
To run your application, just go to the directory where package reside e.g.
c:\jbuilder\myclasses. From this directory just type from dos promt:
jre -cp .;untitled1.jar untitled1.yourApp then ENTER that is all.
^ ^
| |
compressed package
application
For your information, I also had a similar problem before because I didn't
include ".;".
Hope this help.
Regards,
Budi Santoso
Frank Cohen <fcohen@inclusion.net> wrote in article
<34738907.7CCC@inclusion.net>...
> Tryed your recommended syntax...
>
> jre -cp wms.jar WebRobot.WebRobotClass.main
>
> Same result:
>
> Class not found: WebRobot.WebRobotClass.main
>
> Any ideas?
>
> -Frank
>
> --
>
> Frank Cohen Community-building technology
>
> Inclusion Inc: http://www.inclusion.net/ 408 374 7426
> Sun Microsystems: http://www.sun.com/ 650 786 7365
> Personal: http://www.watchmysite.com/ 408 374 4456
>
Technical Details
Message-ID:
<01bcf862$4e459e00$b040ac83@PG16.ecocom.latrobe.edu.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3471CE23.214B@inclusion.net> <347204dc.69205131@forums.borland.com> <34738907.7CCC@inclusion.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,5763acb3f5c73e5 X-Google-Attributes: gidf74b3,public From: "Budi Santoso" <ecobs@lure.latrobe.edu.au> Subject: Re: Deployment of .JAR = Class not found Date: 1997/11/27 Message-ID: <01bcf862$4e459e00$b040ac83@PG16.ecocom.latrobe.edu.au> X-Deja-AN: 293258317 References: <3471CE23.214B@inclusion.net> <347204dc.69205131@forums.borland.com> <34738907.7CCC@inclusion.net> Organization: None Newsgroups: borland.public.jbuilder.java.language