꽤 이상합니다. 먼저 Windows에서 환경 경로로 이동하여 최신 Java에 대한 올바른 경로가 있는지 확인합니다. 그렇게하면 java가 실행됩니다.
열기 환경 경로 : 윈도우 8
Drag the Mouse pointer to the Right bottom corner of the screen
Click on the Search icon and type: Control Panel
Click on -> Control Panel -> System -> Advanced
Click on Environment Variables, under System Variables, find PATH, and click on it.
In the Edit windows, modify PATH by adding the location of the new java installation.
Close the window.
Reopen Command prompt window, and run your java -version.
윈도우 7
Select Computer from the Start menu
Choose System Properties from the context menu
Click Advanced system settings > Advanced tab
Click on Environment Variables, under System Variables, find PATH, and click on it.
In the Edit windows, modify PATH by adding the location of the new java installation.
Reopen Command prompt window, and run your java -version.
윈도우 XP
Start -> Control Panel -> System -> Advanced
Click on Environment Variables, under System Variables, find PATH, and click on it.
In the Edit windows, modify PATH by adding the location of the new java installation.
Close the window.
Reopen Command prompt window, and run your java -version.