🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2617

Re: Deploying an application

#2617
From: Tomas Andersen
Date: Fri, 18 Aug 2000 00:00
40 lines
1709 bytes
Shiva Gopalakrishnan <shivag@earthlink.net> wrote in message
news:ERSh5.3516$Z6.144556@newsread1.prod.itd.earthlink.net...
> Group,
> I have built an application using JBuilder 3. The application runs fine. I
> have tried to create the jar file using the wizard.
> I am not sure how to ship this across to various users so that they can
run
> it.
> Any help will be appreciated....
> Thanks,
> - Shiva
>
>

I am not sure if this is what you are looking for
but I use this method:

Compile all your java files to class files. Put the class files in a
directory.
Copy the java.exe file from your editor's java/bin or bin directory to the
same directory as your class files. Make a batch file (called <name>.bat).
Edit this file with one line:

java <MyProgram>

Substitute <MyProgram> with the name of the class that starts the java
program.


example:

start.java
(contains class start)

java start
(in start.bat file)


Tomas Andersen
Technical Details
Message-ID: <cTen5.7936$541.1365842@juliett.dax.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <ERSh5.3516$Z6.144556@newsread1.prod.itd.earthlink.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,3d0a2c521440dd68
X-Google-Attributes: gid1089d0,public
From: "Tomas Andersen" <tomasand@c2i.net>
Subject: Re: Deploying an application
Date: 2000/08/18
Message-ID: <cTen5.7936$541.1365842@juliett.dax.net>
X-Deja-AN: 659816228
References: <ERSh5.3516$Z6.144556@newsread1.prod.itd.earthlink.net>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@tele2.no
X-Trace: juliett.dax.net 966621768 193.217.198.57 (Fri, 18 Aug 2000 20:02:48 MET DST)
Organization: Tele2 Norway AS Public Access
X-MSMail-Priority: Normal
NNTP-Posting-Date: Fri, 18 Aug 2000 20:02:48 MET DST
Newsgroups: borland.public.jbuilder.java.api