Perry Smith

Java Questions & Answers

Archive

Home / Java Q & A Archive Page 5 / Java Q & A Archive / Java Main Page

Moving Java code to another machine
Wednesday, 30-Jun-1999 16:30:08
129.176.166.60 writes:
If I'm going to move my code to another machine that does not have JDK on it, what would I put on a CD for that other computer? My friend would like a copy of my program, but doesn't have space in /usr for JDK. Isn't there a way to get my code to run without putting much on his machine?

Greg


Response
Re: Moving Java code to another machine
Thursday, 01-Jul-1999 01:18:23
152.166.153.36 writes:
Does your friend have a Java-enabled browser? If so, then invoke your application with a short applet. If not, your friend will need the java executable and a jar with every class that you use, from java.lang.String to java.lang.reflect.Array and your program classes, of course.

MikeD


Home / Java Q & A Archive Page 5 / Java Q & A Archive / Java Main Page