• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Java Compiler and Run times(Urgent)

 
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I want to know following:
I want to create Java application(Not JAva Applet). I want to run that java application on customers machines. So obviously I have to give floppy which embeds Java application and JIT(to run).
Generally developers download JDK1.3 and they run java <java application>.
on customers machine, I don't want they download jdk1.3 and run command java <java application>. I want to embed compilers and JIT in my floppy so when I give to customer, they just type in name of Java application and it should run.
What is the best way to do this?
Thanks in advance
Angela
 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You would at least need the Java Runtime Edition (JRE 1.3). You would still need to run the java program (ex. java someapp). You could simplify the process by creating a batch file that runs the java application.
Hope this helps,
Joe
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And you will also have a hard time fitting even a Java runtime onto a floppy. They are several megabytes big.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Write java Test(application name) in the batch file and exceute that batch file on the prompt
Regards
Rohan
 
Angela Jessi
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rohan,Frank,Joe
Thanks for your responses.
Still JRE(1.1) can not feed in one floppy disk. I found one thing, if you have internet explorer above 4.0.And if i don't have any JDK or JRE, i can still work with one command JView. With the use of this command i can run application without JDK OR JRE.Now I want to try this command on diff IE OR NETSCAPE OR MAC OR UNIX.
Thanks
Let me know if you find something very common command
Angela
 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not everyone will have a JRE. Even with IE, the installation of the Microsoft VM can be skipped (and sometimes is, in some companies who feel this creates a security threat). The only answer I can come up with is CDROM. You can get a Jump Start CDROM from Sun or most Java Books that come with a CD have the JRE as an install. If you have access to a burner, you can make installation CD for the JRE without violating Sun's copyright. You can set up a CD with all the latest versions and allow the Customer to choose.
Hope this helps
 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are sure about the destination platform (like Windows) use free tools available to conver the java application class files to EXE and distribute it as single file. NO JVM required I believe!!!
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Angela,
Firstly, it is the Java Runtime Environment ( the current version to use is Version 1.3.0 )that you need to give to your customers. You can download it and burn it to CD for distribution to your customers, or, if you are tied to floppy discs, there is a cool option to download in 1.44MB pieces. Go to:
http://java.sun.com/j2se/1.3/jre/download-windows.html
(assuming you will be distributing this to windows users.)
Good luck with your project!
Anthony
 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe that any Windows 9x, NT or 2000 installation includes jview, which is Microsoft's Java runtime implementation. Be careful though - jview only implements Java 1, NOT Java 2. If you don't require Java 2, then this might work fine for you.
-Mirko

Originally posted by Angela Jessi:
Rohan,Frank,Joe
Thanks for your responses.
Still JRE(1.1) can not feed in one floppy disk. I found one thing, if you have internet explorer above 4.0.And if i don't have any JDK or JRE, i can still work with one command JView. With the use of this command i can run application without JDK OR JRE.Now I want to try this command on diff IE OR NETSCAPE OR MAC OR UNIX.
Thanks
Let me know if you find something very common command
Angela


 
Angela Jessi
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All
Thanks a lot for responses.
jview you can use with java 2 applications(I think without swing class)
Thanks
Angela
 
Mirko Froehlich
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think this is correct. Sure, many applications that work with Java 2 will also work with Java 1 JVMs, such as Microsoft's jview, but if the application uses any Java 2 specific functionality (for example the new collection classes), it will no longer work in Java 1.
-Mirko

Originally posted by Angela Jessi:
Hi All
Thanks a lot for responses.
jview you can use with java 2 applications(I think without swing class)
Thanks
Angela


 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Sivaram Ghorakavi:
If you are sure about the destination platform (like Windows) use free tools available to conver the java application class files to EXE and distribute it as single file. NO JVM required I believe!!!


Hi Sivaram...i would like to know what are those free tools you mentioned and if they improves perfomance too...Thanks
[This message has been edited by Ramon Antonio (edited June 06, 2001).]
 
Author
Posts: 6055
8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Egads! I wouldn't trust Microsoft Java products to be around next week, let alone next year. Microsoft support for Java is about as strong as Linux support for Windows.
Consider using Java Web Start, although that, itself requires an initial installation.
--Mark
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
checkout http://www.cyberdosti.com
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
well there's something new. I had read on javasoft.com long time back that told u 2 make manifest file out of your jar file which'll allow u 2 doubleclick program icon & run it without needing 2 go 2 dos prompt. But I feel that u'd still need jre!!!
 
I carry this gun in case a vending machine doesn't give me my fritos. This gun and this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic