|
-
Nov 13th, 2012, 07:06 AM
#22
Re: Run command line without command prompt
Then you probably need a 64 bit OS, and it reverts to the default 32 bit settings to save memory from being allocated for no reason in the heap, unless otherwise specified by this "-d64" command line option. Seems reasonable enough. The only way you can use that option is if you have a 64 bit OS though. I don't know much about Java though so don't take my word for it.
You got it to work by changing your methods I see, did you not? 
Java by default should be in that location shouldn't it however? And to avoid strict hardcoded values, use the Enironment as I shown you in this post: http://www.vbforums.com/showthread.p...=1#post4278981
Check for the existence of "C:\Program Files\Java\jre7\bin\javaw.exe", and if it doesn't exist, then prompt the user to input the filepath to javaw.exe.
<<<------------
.NET Programming (2012 - 2018)
®Crestron - DMC-T Certified Programmer | Software Developer <<<------------
Tags for this Thread
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
|