Article View: borland.public.jbuilder.java.language
Article #14814Deployment Problems
From: Bill Bell
Date: Wed, 04 Aug 1999 00:00
Date: Wed, 04 Aug 1999 00:00
36 lines
1850 bytes
1850 bytes
Is there a step by step guide to deploying a simple app? 1. Using JBuilder 3 I created a VERY simple app under myprojects/test - testpgm.java calls Frame1.java 2. I compiled and ran the program. 3. I used the deployment wizard to create a jar file (testjar.jar) 4. The jar file has all the classes I used to create the simple app. (I looked at the contents of the jar file and it has everything). 5. I created a directory c:\test and put the jar file in the directory. 6. I downloaded the JRE (from SUN) and installed it in c:\jre 7. I updated my autoexec.bat file to include the path and rebooted. SET PATH="%PATH%";c:\jre\bin;c:\jre\lib; (There is nothing else in the path) 8. I opened a dos window and cd to the test directory c:\test c:\test>jre -help and I get jre help - so far so good. Then I tried several ways to execute the app. c:\test>jre -cp .:testjar.jar testpgm.class c:\test>jre -cp .:testjar.jar testpgm //I thought it may append .class c:\test>jre -cp .:testjar.jar test\testpgm.class //Testpgm is in a directory called test In all cases it does not find the class I specified. What am I doing wrong? I also want to figure out how to create an Icon on the desktop to call the app. Any help is very much appreciated....thanks. Regards, Bill Bell
Technical Details
Message-ID:
<37A92421.6D999898@airmail.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,7ef6072b61e321a0,start X-Google-Attributes: gidf74b3,public From: Bill Bell <billb@airmail.net> Subject: Deployment Problems Date: 1999/08/04 Message-ID: <37A92421.6D999898@airmail.net> X-Deja-AN: 509217891 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language