 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Mr. x Guest
|
Posted: Thu Oct 16, 2003 12:06 am Post subject: deploy my project in JBuilder 8 Enterprise. |
|
|
Hello,
How can I deploy my output java file that is created in JBuilder.
Can I make my project a standalone project - How ?
Does a standalone java applet is a good choice (for speed), or should I put
some class at the client ? - How can I do that (put class at the client, if
it is possible, anyway) ?
Thanks :)
|
|
| Back to top |
|
 |
Mr. x Guest
|
Posted: Thu Oct 16, 2003 12:12 am Post subject: Re: deploy my project in JBuilder 8 Enterprise. |
|
|
N.B - JBuilder 8.0 - Enterprise Edition.
(I want a fast way for putting my class into HTML page).
Thanks :)
"Mr. x" <a@b.com> wrote
| Quote: | Hello,
How can I deploy my output java file that is created in JBuilder.
Can I make my project a standalone project - How ?
Does a standalone java applet is a good choice (for speed), or should I
put
some class at the client ? - How can I do that (put class at the client,
if
it is possible, anyway) ?
Thanks :)
|
|
|
| Back to top |
|
 |
Valentino Kyriakides Guest
|
|
| Back to top |
|
 |
Osuman B. Guest
|
Posted: Mon Oct 20, 2003 3:24 pm Post subject: Re: deploy my project in JBuilder 8 Enterprise. |
|
|
Use archive builder in jbuilder.
Choose new and when the menu comes
choose archive builder.
Or choose wizards -> archive builder.
Good luck
bashiro
"Mr. x" <a@b.com> wrote
| Quote: | N.B - JBuilder 8.0 - Enterprise Edition.
(I want a fast way for putting my class into HTML page).
Thanks :)
"Mr. x" <a@b.com> wrote
Hello,
How can I deploy my output java file that is created in JBuilder.
Can I make my project a standalone project - How ?
Does a standalone java applet is a good choice (for speed), or should I
put
some class at the client ? - How can I do that (put class at the client,
if
it is possible, anyway) ?
Thanks :)
|
|
|
| Back to top |
|
 |
Mr. x Guest
|
Posted: Mon Oct 20, 2003 7:51 pm Post subject: Re: deploy my project in JBuilder 8 Enterprise. |
|
|
I was looking for that solution of yours, it seems to be very good solution,
and practic one.
I did as you said, used the defaults of the wizard,
did compilation,
but when I tried to run (dbl-click on the myproj.jar in windows) - the
program doesn't run as expected - what should I be aware of ?
Thanks :)
"Osuman B." <bashiro (AT) enter (DOT) vg> wrote
| Quote: | Use archive builder in jbuilder.
Choose new and when the menu comes
choose archive builder.
Or choose wizards -> archive builder.
Good luck
bashiro
"Mr. x" <a@b.com> wrote
N.B - JBuilder 8.0 - Enterprise Edition.
(I want a fast way for putting my class into HTML page).
Thanks :)
"Mr. x" <a@b.com> wrote in message
news:3f8de191$1 (AT) newsgroups (DOT) borland.com...
Hello,
How can I deploy my output java file that is created in JBuilder.
Can I make my project a standalone project - How ?
Does a standalone java applet is a good choice (for speed), or should
I
put
some class at the client ? - How can I do that (put class at the
client,
if
it is possible, anyway) ?
Thanks :)
|
|
|
| Back to top |
|
 |
Valentino Kyriakides Guest
|
Posted: Mon Oct 20, 2003 11:27 pm Post subject: Re: deploy my project in JBuilder 8 Enterprise. |
|
|
"Mr. x" <a@b.com> schrieb im Newsbeitrag
news:3f943d37 (AT) newsgroups (DOT) borland.com...
| Quote: | I was looking for that solution of yours, it seems to be very good
solution,
and practic one.
I did as you said, used the defaults of the wizard,
did compilation,
but when I tried to run (dbl-click on the myproj.jar in windows) - the
program doesn't run as expected - what should I be aware of ?
Thanks :)
|
Did you ever recognized that JBuilder has build in online help? Take a look
there for the Sun java "jar" tool and also for the JB Archive Builder and
also for the JB Native Executable builder.
In your case it seems that you didn't installed/applied a Sun JRE
seperately, since otherwise you would be able to double click on well
defined jar files in order to start them up.
However, for the "...Java rookies under the Sun..." apply a well defined jar
related manifest file to JB's Archive Builder which points to your main
class when creating the jar file (JB's ArchiveBuilder can do that for you
mostly...). Afterwards, when your jar has been generated perform a ...
shell> java -jar yourname.jar
....from a DOS shell, or place the above command into a batch file etc. in
order to start up your jar. You can also modify the Windows default .jar
file extension handling in order that it performs a "java -jar xxx" on a
double clicked jar.
Well, maybe the esiest for you would be, to build an so called "native
executable wrapper" with the help of JBuilder's "Native Executable Builder"
(in JB Ent --> Wizards|Native Executable Builder), so the result will be an
..exe file, which even you should hopefully be able to start up... In order
to find out how to do that look into your JBuilder's online help system.
-vkyr
|
|
| Back to top |
|
 |
Osuman B. Guest
|
Posted: Tue Oct 21, 2003 7:22 am Post subject: Re: deploy my project in JBuilder 8 Enterprise. |
|
|
Well first make sure you choose
1. Application
2. Give a name to the application or accept default
Also define the location or watch where the default will
place the files
3. Here accept all since you are a beguiner. Then later
when you get the experience you will be able to define what you want.
4 Choose" always include all classes and rescources". This will make sure
that all dependences have been included. Again when you become familiar
to deployment you will be able to add what you want and don't want.
5. Acept the default values
6. Choose the main class from list.
FINALLY. Install jave runtime on the machine that will run the program. If
you install
the java runtime correctly, then there is no need for any
script. When you
double click on the jar file it will run perfectly.
GOOD LUCK
OSuman
"Valentino Kyriakides" <vkyr (AT) nospam-ision (DOT) net> wrote
| Quote: |
"Mr. x" <a@b.com> schrieb im Newsbeitrag
news:3f943d37 (AT) newsgroups (DOT) borland.com...
I was looking for that solution of yours, it seems to be very good
solution,
and practic one.
I did as you said, used the defaults of the wizard,
did compilation,
but when I tried to run (dbl-click on the myproj.jar in windows) - the
program doesn't run as expected - what should I be aware of ?
Thanks :)
Did you ever recognized that JBuilder has build in online help? Take a
look
there for the Sun java "jar" tool and also for the JB Archive Builder and
also for the JB Native Executable builder.
In your case it seems that you didn't installed/applied a Sun JRE
seperately, since otherwise you would be able to double click on well
defined jar files in order to start them up.
However, for the "...Java rookies under the Sun..." apply a well defined
jar
related manifest file to JB's Archive Builder which points to your main
class when creating the jar file (JB's ArchiveBuilder can do that for you
mostly...). Afterwards, when your jar has been generated perform a ...
shell> java -jar yourname.jar
...from a DOS shell, or place the above command into a batch file etc. in
order to start up your jar. You can also modify the Windows default .jar
file extension handling in order that it performs a "java -jar xxx" on a
double clicked jar.
Well, maybe the esiest for you would be, to build an so called "native
executable wrapper" with the help of JBuilder's "Native Executable
Builder"
(in JB Ent --> Wizards|Native Executable Builder), so the result will be
an
.exe file, which even you should hopefully be able to start up... In
order
to find out how to do that look into your JBuilder's online help system.
-vkyr
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|