1/14/2023 0 Comments Java home path catia v6I want to compile a specific class, so I type the following: cd C:UserstothnJavaProjectsSetUpPracticesrcHelloOTP //this directory contains the.java file javac HellOTP.java //now the HellOTP.java compiles perfectly. However I have the following problems: (java -version and javac -version works fine) I am working from the command line. Thank you for the explanation, it works well. Go to Change settings and select the Advanced tab.Alternatively:Open “Windows search” – you will find it next to the Windows logo. Open Advanced System SettingsIn Windows 10 press Windows key + Pause Key, This will open the System Settings window. Please note JAVAHOME should point to a JDK directory not a JRE one. The point of setting the environment variable is to let programs know in which directory executables like javac can be found. In this tutorial I will show you how to set JAVAHOME as environment variable in Windows 10 operating system.Why do I need to set JAVAHOME?Many Java based programs like Tomcat require JAVAHOME to be set as environment variable to work correctly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |