The Artima Developer Community
Sponsored Link

Java Answers Forum
Package size developed in Java

2 replies on 1 page. Most recent reply: May 10, 2002 1:39 PM by Matt Gerrans

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
kckulkarni

Posts: 1
Nickname: kckulkarni
Registered: May, 2002

Package size developed in Java Posted: May 10, 2002 1:19 AM
Reply to this message Reply
Advertisement
Though the size of java classes are very small. It requires complete java runtime envirnoment which has a considerably high size. So the total package size is very high. And it is impossible to carry the package over a single floppy disk. Can any one guide, how to reduce the complete package size. This will greatly help to demonstrate the package from a floppy disk.


Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: Package size developed in Java Posted: May 10, 2002 8:29 AM
Reply to this message Reply
Well you could compile them !
Search on Google for the gcc - java compiler docs (in the mean time here is the URL : http://gcc.gnu.org/java/download.html)

Also if you work on a machine with either IE or Netscape you may use the VM provided by them.

Thomas SMETS,
SCJP2 - Brussels

Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: Package size developed in Java Posted: May 10, 2002 1:39 PM
Reply to this message Reply
I guess if you are doing this with a floppy, the assumption is that you are not connected to the internet?

If you are connected to the internet and you can get Java WebStart pre-installed at the destination, then that would make it pretty snappy (that is, you'd make your application a WebStart application).

If you will not have a fast internet connection and Java may not be installed, then, besides having the JRE zipped across several floppies, here are a few other alternatives to ponder:
- Use a zip disk, if that is a possibility.
- Use one of those little disk-on-a-USB-tab thingies. If you don't know what I'm talking about, it is a little tiny (key chain size) USB stick that has many megabytes (64MB on up, AFAIK).
- If you know who makes the target machine, you may be able to depend on the fact that the JRE is pre-installed (for instance, I know that HP Pavilion PCs have it pre-installed and some other manufacturers have the kindness and "customer focus" to do this good deed, too).
- Do the whole thing on a CD. Come to think of it, this is probably the simplist solution. You can even put a little autorun program on the CD that checks for the JRE and automatically installs it, if necessary, while showing a lovely animated splash screen.

Flat View: This topic has 2 replies on 1 page
Topic: Increasing ball speed & changing position of start - pls help!! Previous Topic   Next Topic Topic: round panel

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use