java - AutoHotkey - Command Prompt Issues -



java - AutoHotkey - Command Prompt Issues -

so have been using autohotkey , fan of running couple of issues. compile , run java programs command terminal in windows 7. paths compiler (javac) , run programme (java) set , run when open command prompt without using autohotkey. but, run ahk script opens command terminal same location , seek , utilize java command next message

error: not open 'c:\program files(x86)\java\jre7\lib\i386\jvm.config'

i understand not able find location considering running java 1.8.5_05 not know why path not working properly. stranger part when open command prompt autohotkey javac still recognized , running right version.

my question this. why able compile , run java programs when opening terminal when click cmd.exe icon unable run java programs when terminal opened via simple autohotkey script?

any suggestions appreciated.

note: systems path variable , user path variable correctly set java_home points 1.8.5_05 version

perhaps can seek running cmd /c flag.

for illustration running line of code...

run, cmd /c ping google.com

...will open command prompt, ping google.com, close command prompt.

java path autohotkey javac java-8

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -