|
-
September 18th, 2000, 02:51 PM
#1
platform problem
Is there a non platform specific way to call a java program from a java program. The code below works for win98 but not for Linux.
(jdk is the path of the JDK typed in by the user)
try
{
Process ps = Runtime.getRuntime().exec(jdk+fileSep+"javaw -jar Calculator.jar");
}
catch (Exception err) {}
-
September 19th, 2000, 01:14 AM
#2
Re: platform problem
Im not too sure about this but are you sure the jar file is on the CLASSPATH....
52901368
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|