Open JDK installieren
Verfasst: Di Jan 08, 2019 4:43 pm
Hallo zusammen,
vielleicht kann mir jemand einen Tipp geben.
Ich bin dabei ein neues Paket für Open JDK zu erstellen..... unter anderem wegen der neuen Preispolitik von Oracle
OpenJDK ist ein ZIP-File das ich dann einfach in das Verzeichnis "C:\Program Files\Java\jdk-11.0.1" entpacken lasse.
Jetzt mein Problem..... ich muss dieses Java dann noch in der Systemvariable %PATH% hinterlegen.....
Folgende Anleitung möchte ich mittels ACMP umsetzen:
1.Extract the zip file into a folder, e.g. C:\Program Files\Java\ and it will create a jdk-11 folder (where the bin folder is a direct sub-folder). You may need Administrator privileges to extract the zip file to this location.
2.Set a PATH:
Select Control Panel and then System.
Click Advanced and then Environment Variables.
Add the location of the bin folder of the JDK installation to the PATH variable in System Variables.
The following is a typical value for the PATH variable: C:\WINDOWS\system32;C:\WINDOWS;"C:\Program Files\Java\jdk-11\bin"
3.Set JAVA_HOME:
Under System Variables, click New.
Enter the variable name as JAVA_HOME.
Enter the variable value as the installation path of the JDK (without the bin sub-folder).
Click OK.
Click Apply Changes.
Leider bekomme ich es noch nicht hin diese Variablen zu setzen.
Kann mir hier jemand einen Tipp geben wie ich das am besten umsetze?
Vielen Dank im voraus!!
vielleicht kann mir jemand einen Tipp geben.
Ich bin dabei ein neues Paket für Open JDK zu erstellen..... unter anderem wegen der neuen Preispolitik von Oracle
OpenJDK ist ein ZIP-File das ich dann einfach in das Verzeichnis "C:\Program Files\Java\jdk-11.0.1" entpacken lasse.
Jetzt mein Problem..... ich muss dieses Java dann noch in der Systemvariable %PATH% hinterlegen.....
Folgende Anleitung möchte ich mittels ACMP umsetzen:
1.Extract the zip file into a folder, e.g. C:\Program Files\Java\ and it will create a jdk-11 folder (where the bin folder is a direct sub-folder). You may need Administrator privileges to extract the zip file to this location.
2.Set a PATH:
Select Control Panel and then System.
Click Advanced and then Environment Variables.
Add the location of the bin folder of the JDK installation to the PATH variable in System Variables.
The following is a typical value for the PATH variable: C:\WINDOWS\system32;C:\WINDOWS;"C:\Program Files\Java\jdk-11\bin"
3.Set JAVA_HOME:
Under System Variables, click New.
Enter the variable name as JAVA_HOME.
Enter the variable value as the installation path of the JDK (without the bin sub-folder).
Click OK.
Click Apply Changes.
Leider bekomme ich es noch nicht hin diese Variablen zu setzen.
Kann mir hier jemand einen Tipp geben wie ich das am besten umsetze?
Vielen Dank im voraus!!