Java runtime for windows 2000




















Post your question to a community of , developers. Sign in Join Now. New Post. Hal Vaughan. I've been using Runtime. I've tried exec with a full pathname which seems to have problems on Windows if it has spaces in it, but I'm not sure if that's really the problem , with just the simple short batch file name, and with ". I have one class that is VERY simple that has managed to do this okay, but I've tried this in a number of variations.

I even took the simple class and changed ONLY the batch file name and classname so it would run another batch file in the same dir. It wouldn't. Yes, the file had read and exec permissions set. All of these commands worked perfectly on Linux and I am definately changing the pathnames to use the correct file separator.

So I have: 1 exec command that works on Linux, but not on Windows, even with pathnames corrected, 2 A class that runs a batch file, but will not run others in the same directory, even if they have the correct permission bits set. What kind of factors can effect this?

I wouldn't think the length of the filename should matter. I can't figure out what else would be the difference. I can post the code of all examples, but it's basically the same as above.

I've used a String I defined earlier in some cases and also used a string with quotation marks at the start and end, also.

Under Java Platform, Standard Edition, select either the current release, or click Previous Releases to install an earlier supported version. After installing the JRE, run the following test to verify the version of Java that is recognized by the system.

On the keyboard, press the Win Windows key and the R key simultaneously to open the Run box. Alternatively, you can select Start , then Run. In the Run box, type cmd to run the Windows command console. Java Platform 5 Update 18 x Java Platform 5 Update 22 x Java Platform 5.

Java Platform 6 Update 27 x Java Platform 6 Update 26 x Java Platform 6 Update 24 x Java Platform 6 Update 25 x Java Platform 6 Update 29 x Java Platform 6 Update 30 x Java Platform 6 Update 31 x Java Platform 6 Update 32 x Java Platform 6 Update 33 x Java Platform 6 Update 23 x Java Platform 6 update 29 64 bit. Java Platform 6.



0コメント

  • 1000 / 1000