Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java:System cannot execute the specified program.

3301203Aug 23 2016 — edited Sep 12 2016

I have install jdk and set environment variables perfectly.

When I run "javac -version",it gives the right version.But,when I run "java -version",it gives error as "System cannot execute the specified Program".

The PATH variable is set as "C:\Program Files\Java\jre1.8.0_102\bin" and it has "java.exe" in it.

Please Help!

[edit by moderator (BluShadow) - broken image/link removed]

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 10 2016
Added on Aug 23 2016
1 comment
1,569 views