The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

could note locate java runtime

Posted by RJ on June 11, 2001 at 1:20 AM

i'm having a big problem:
I made my java application, and all was going well with codewarrior ( a java/c++ compiler). I was using the JDK vm, and I compiled, and made the application into an exe which went along with a javaapplication.zip file. The .exe runs fine on my computer, and is even pretty fast, however, when i transport this zip along with the exe to any other computer, I get an error that says "Could not locate Java runtime". I know that the computers which I transported it too were able to support java, and I can't find the answer anywhere. The program includes three files: rt.jar, file1.java, and file2.java. File1.java is the main thing, file2.java is just a class called from file1, and rt.jar is just the jar file..





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us