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.