New year's Eve |
about
JAVA Basics -HelloWorld-JDK Your questions
New computer
|
Journey0214 |
about
JAVA Basics -HelloWorld-JDK Your questions
My computer java version The version is 1.8.0_221 Does it matter ?
|
It doesn't affect
shu1772882855 |
about
JAVA Basics -HelloWorld-JDK Your questions
Edit path It's different when you're in , You have to choose
![]() |
JL123 |
about
JAVA Basics -HelloWorld-JDK Your questions
MAC How to configure it ?
|
~ % java -version java version "17.0.1" 2021-10-19 LTS Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39) Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing)
Output this help message to the error stream --help Output this help message to the output stream -X Output help for additional options to the error stream --help-extra Output the help of additional options to the output stream -ea[:< Package name >...|:< Class name >] -enableassertions[:< Package name >...|:< Class name >] Enables assertions at the specified granularity -da[:< Package name >...|:< Class name >] -disableassertions[:< Package name >...|:< Class name >] Disables assertions at the specified granularity -esa | -enablesystemassertions Enable system assertion -dsa | -disablesystemassertions Disable system assertions -agentlib:< Library name >[=< option >] Load the native agent Library < Library name >, For example -agentlib:jdwp See also -agentlib:jdwp=help -agentpath:< Pathname >[=< option >] Load the native agent library by full pathname -javaagent:<jar route >[=< option >] load Java Programming language agent , see also java.lang.instrument -splash:< Image path > Displays the startup screen using the specified image Automatic support and use HiDPI Zoom image ( If available ). Unscaled image file names should always be ( For example , image.ext) Pass as a parameter to -splash option . The most appropriate zoom provided will be automatically selected image . For more information , see also SplashScreen API file @argument File One or more parameter files containing options [email protected] Prevent further expansion of the parameter file --enable-preview Allow classes to rely on the preview capabilities of this release To specify parameters for the long option , have access to --< name >=< value > or --< name > < value >.// Probably so
gss802377 |
about
JAVA Basics -HelloWorld-JDK Your questions
win10 How to configure
|
metro
tianzi520134 |
about
JAVA Basics -HelloWorld-JDK Your questions
They all follow the steps I don't know if it's a decompression problem
|
win+R enter cmd enter Enter ECHO %path% enter Can display 'F:\java\bin' java Directory path · See if it's right
hsw123 |
about
JAVA Basics -HelloWorld-JDK Your questions
How to decompress this jdk
|
C:\Program Files\Java\jdk1.8.0_72
The watchman of the lonely age |
about
JAVA Basics -HelloWorld-JDK Your questions
123
|
I don't know anything |
about
JAVA Basics -HelloWorld-JDK Your questions
The first day of study
|
The optimistic family will never be a slave |
about
JAVA Basics -HelloWorld-JDK Your questions
Path The system variables are different , Yes %JAVA_HOME%\bin; The post configuration still doesn't work , What should I do? , Ask the great God to solve his doubts , thank you
![]() |
Path In %JAVA_HOME%\bin; route , Bind variable name by JAVA_HOME of E:\JDK route
Study hard java My little white |
about
JAVA Basics -HelloWorld-JDK Your questions
win7 No way?
|
win7 sure , My old computer was win7 of
win7 tolerable , Apple macOS The system can also , Install JDK After, you need to configure variables before you can cmd Run in .class File , Otherwise, you can only JDK In Java and Javac Can only be executed under the root directory of , When executing files on the desktop, you should pay attention to whether the path is complete , No, Desktop To add Desktop To execute successfully
lvjiajun1997 |
about
JAVA Basics -HelloWorld-JDK - First, look at the effect after successful configuration Your questions
path Editing system variables cannot be edited , Click Edit is this page . The upper left corner is not a system variable, but an environment variable . Novice Xiaobai solves
![]() |
Step one : First create a new... On the environment variables page JAVA_HOME variable -------- The address is what you installed JDK Location Step two : Find... In the system variable below Path Click Edit variable to open the edit environment variable window ----------- Enter %JAVA_HOME%\bin It's solved Step 3 : inspect JDK Whether the configuration is successful ,windows key +R build The lower left corner comes out to run the window , Enter cmd Then press enter to enter the command window , Then enter java -version Check if there is version information
java captain |
about
JAVA Basics -HelloWorld-JDK Your questions
It can still be used after being configured on the first day , Not the next day , After reading the environment configuration, it is normal
![]() |
JAV_HOME PASH
looyee |
about
JAVA Basics -HelloWorld-JDK Your questions
JDK Download data transfer failed
|
cainiaoZz |
about
JAVA Basics -HelloWorld-JDK Your questions
As the title
|
It is recommended to change the coding format to utf-8,
Learning wisdom |
about
JAVA Basics -HelloWorld-JDK Your questions
above jdk Is the packet the latest version ?( Xiaobai )
|
There is no need to blindly pursue the latest version , You should choose a stable version , as 1.8.
IvenCheng |
about
JAVA Basics -HelloWorld-JDK Your questions
stationmaster , Can you refer to your source code ??
|
Lucas What |
about
JAVA Basics -HelloWorld-JDK Your questions
Hello, teacher , Can Apple operate
|
HZT1998 |
about
JAVA Basics -HelloWorld-JDK Your questions
Create a new system variable JAVA_HOME The variable value is C:\Program Files\Java\jdk1.8.0_65 Path Value adds a value of %JAVA_HOME%\bin
|
gdhhdb |
about
JAVA Basics -HelloWorld-JDK Your questions
The teacher said decompress to e Of the disc jdk, But my computer doesn't have this directory , Do I want to create a new folder ? Or what ?
|
QQ:2661009083
Ink Glass |
about
JAVA Basics -HelloWorld-JDK Your questions
No, e What about the plate
|
Wei Wei Wei |
about
JAVA Basics -HelloWorld-JDK Your questions
How to install the compressed package given by the author jdk Ah , I haven't seen the installer for a long time , The environment variable is configured to indicate whether it has been installed or what ? I run java The file shows that you need to install
|
jdk decompression , Configure the environment variables Run... In the command line window java Follow javac No display is not an internal or external command jdk It's just installed
Gu Meng |
about
JAVA Basics -HelloWorld-JDK -Win10 The environment variable Path Configuration of Your questions
There is a problem configuring environment variables , User variable configuration path It's OK , Only the system variable is configured so that all users can use
|
Devilly |
about
JAVA Basics -HelloWorld-JDK Your questions
Can't decompress
![]() |
Xiaobai -java |
about
JAVA Basics -HelloWorld-JDK Your questions
function eclipse Show javaw.exe in your current PATH
![]() |
It's Zhiwen a |
about
JAVA Basics -HelloWorld-JDK Your questions
111
|
ljt123 |
about
JAVA Basics -HelloWorld-JDK Your questions
987654321
|
nihaoyaya |
about
JAVA Basics -HelloWorld-JDK Your questions
java Are there many people using it now
|
java It's not very difficult , It's relatively easy to learn , Now use Java The majority of people , Personally feel , If different , Please put forward and correct , thank you
nihaoyaya |
about
JAVA Basics -HelloWorld-JDK Your questions
java Are there many people using it now
|
Yuqian City |
about
JAVA Basics -HelloWorld-JDK Your questions
I hope a big man will take me to fly
|
Yuqian City |
about
JAVA Basics -HelloWorld-JDK Your questions
I'm just curious
|
Be happy |
about
JAVA Basics -HelloWorld-JDK Your questions
System variables path
![]() |
beautiful |
about
JAVA Basics -HelloWorld-JDK - First, look at the effect after successful configuration Your questions
Mac So do the first step cmd Command
|
Look at the sea at night |
about
JAVA Basics -HelloWorld-JDK Your questions
Now I 38 year Want to learn Java Do you think I still have a chance
|
JAVA_HOME="C:\Program Files\Java\jdk1.8.0_65"
wyn961211 |
about
JAVA Basics -HelloWorld-JDK Your questions
123
|
nihaoyaya |
about
JAVA Basics -HelloWorld-JDK Your questions
1
|
zzy0371 |
about
JAVA Basics -HelloWorld-JDK Your questions
La la la la la la la la la la la la la la la la la la la la la la la la la la la la la la la la
|
zzy0371 |
about
JAVA Basics -HelloWorld-JDK Your questions
wwwwwwwwwwwwwwwwwww
|
Don't dare to go up the waves, the mentality is great |
about
JAVA Basics -HelloWorld-JDK - practice - Environment variable configuration Your questions
What does the great God mean
|
// stay windows In the system environment variable , Create a new row JAVA_HOME="C:\Program Files\Java\jdk1.8.0_65"
123
Aa13981923087 |
about
JAVA Basics -HelloWorld-JDK Your questions
May I ask the great God , After downloading, there is a way to open , Notepad 、 Webpage 、 Drawing 、 Writing board 、 In the application Mall 、 Video playback , Which one should I open ? thank you !
|
Argus is deeply into the bone marrow. He buys it personally
hardexperince |
about
JAVA Basics -HelloWorld-JDK Your questions
Why my computer win10 There are no system variables in the system Path Variable, and there is this variable in the user variable , Then I follow the steps to put... In the user variable Path Clear it and create it in the following system variables Path variable , Then click OK after configuration , Open the variable again to see that it will still return to the original one , There is no change
![]() |
eeeee
Seven seven one forty-nine |
about
JAVA Basics -HelloWorld-JDK Your questions
The system is OSX 10.10.5
Error: dl failure on line 558 Error: failed /Library/Java/JavaVirtualMachines/jdk-14.0.2.jdk/Contents/Home/lib/server/libjvm.dylib, because dlopen(/Library/Java/JavaVirtualMachines/jdk-14.0.2.jdk/Contents/Home/lib/server/libjvm.dylib, 10): no suitable image found. Did find: /Library/Java/JavaVirtualMachines/jdk-14.0.2.jdk/Contents/Home/lib/server/libjvm.dylib: code signature invalid for '/Library/Java/JavaVirtualMachines/jdk-14.0.2.jdk/Contents/Home/lib/server/libjvm.dylib' |
Retired late night workers |
about
JAVA Basics -HelloWorld-JDK Your questions
How to configure it in detail
|
Programming Xiaobai 1 |
about
JAVA Basics -HelloWorld-JDK Your questions
%JAVA_HOME%\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
|
Huihui |
about
JAVA Basics -HelloWorld-JDK Your questions
win7 What's the matter ?
|
Idle little white |
about
JAVA Basics -HelloWorld-JDK Your questions
I don't understand what it does
|
Oh, HOHO |
about
JAVA Basics -HelloWorld-JDK Your questions
The installation I downloaded can't be opened
![]() |
IT Xiaobai _ |
about
JAVA Basics -HelloWorld-JDK Your questions
Downloads to colleagues jdk The bag is in C Under disc , The environment variable configures the results of following the tutorial java Not an internal command , Do I have to go to the official website to download jdk.exe Install lower ?
|
You added it in the user variable , So it didn't add successfully . 2 A configuration should be added to the environment variable .
no Put it in E disc
libh66 |
about
JAVA Basics -HelloWorld-JDK Your questions
The compressed package is 32 Bit ?
|
Just choose according to the number of bits of the operating system
wuda123321 |
about
JAVA Basics -HelloWorld-JDK Your questions
Is there no need to configure classpath What happened ?
|
huangzc |
about
JAVA Basics -HelloWorld-JDK - Verify that the configuration is successful Your questions
Cannot display java edition
![]() |
Open dos window , Configure environment variables 1、 to configure JAVA_HOME set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_65 2、 to configure path route set path=%path%;C:\Program Files\Java\jdk1.8.0_65\bin
Du Zhi |
about
JAVA Basics -HelloWorld-JDK Your questions
How to write the runner
|
icezzyan |
about
JAVA Basics -HelloWorld-JDK Your questions
Mac Computer configuration
|
mojuncong |
about
JAVA Basics -HelloWorld-JDK Your questions
How to invoice ?
|
Sima dog thief |
about
JAVA Basics -HelloWorld-JDK Your questions
Hello , Please ask how the apple system is installed jdk Ah , thank you
|
wcj |
about
JAVA Basics -HelloWorld-JDK Your questions
Installation succeeded , But the version information is different , My version is 1.7.0, no 1.8.0
|
huitaolang |
about
JAVA Basics -HelloWorld-JDK Your questions
teacher : After decompression, you do not need to install , Can I use it directly after configuration ?
|
public class helloworld { public static void main(String[] args) { /* System.out.println("helloworld"); } }
I became a dog |
about
JAVA Basics -HelloWorld-JDK Your questions
I installed it step by step , Install the downloaded files to E The installation position of the disc But still not ....
![]() |
Ah V |
about
JAVA Basics -HelloWorld-JDK Your questions
Follow the video steps Still can't configure . Please teach me .
![]() |
hold JAVA_HMOE The value is set to C:\Program Files\Java\jdk1.8.0_65
public class HelloWord { public static void main(String[] arges) { System.out.println("helloword!"); } }
wzs001228 |
about
JAVA Basics -HelloWorld-JDK Your questions
Why did I download jdk.rar It's a video that can't be played
|
mojuncong |
about
JAVA Basics -HelloWorld-JDK Your questions
consult , Is the content in the video well written , I read the text faster and concentrate , Did you read the text tutorial without watching the video ?
|
The night is as cool as water |
about
JAVA Basics -HelloWorld-JDK Your questions
After installation, it appears in cmd What happened on the Error: could not open `D:\MyDownloads\java\jdk1.8.0_74\jre\lib\amd64\jvm.cfg'
|
Cange v5 |
about
JAVA Basics -HelloWorld-JDK Your questions
I installed 64 Bit eclipse, I can't open it with this
|
I love learning java Ah |
about
JAVA Basics -HelloWorld-JDK Your questions
Can it be installed on another disk
|
For example :jdk stay H:\jdk, you JAVA_HOME The value of the variable is filled in H:\jdk All right
For example :jdk stay H:\jdk, you JAVA_HOME The value of the variable is filled in H:\jdk All right
xu18665059150 |
about
JAVA Basics -HelloWorld-JDK Your questions
New JAVA_HOME Replace the value of with C:\Program Files\Java\jdk1.8.0_65 Path Still in %JAVA_HOME%\bin
|
Variable name :JAVA_HOME Variable value :C:\Program Files\Java\jdk1.8.0_65 Path:%JAVA_HOME%\bin; be careful : If it is Windows10 system , To write jdk and jre The absolute path of Path:C:\Program Files\Java\jre1.8.0_65\bin;C:\Program Files\Java\jdk1.8.0_65\bin; CLASSPATH:.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
Variable name :JAVA_HOME Variable value :C:\Program Files\Java\jdk1.8.0_65
The doctor said the mouth was bad |
about
JAVA Basics -HelloWorld-JDK - practice - Environment variable configuration Your questions
jdk The installation directory must be E Plate ?
|
nj1123581321 |
about
JAVA Basics -HelloWorld-JDK Your questions
The computer is installed jdk1.8, Also installed eclipse, But with the command line no java Not internal or external commands , Nor is it a runnable program
|
xu123 |
about
JAVA Basics -HelloWorld-JDK Your questions
I've done this many times , Always just won't succeed , solve
![]() |
1. You can put cmd Name the line and try , Try again . 2. If you don't succeed , Check your installation path carefully D:\jdk
Unzipped jdk Whether the folder is D:\jdk
bin There must be a semicolon behind it ;
LBJ14283 |
about
JAVA Basics -HelloWorld-JDK Your questions
Why didn't I download a compressed package
![]() |
The stars last night |
about
JAVA Basics -HelloWorld-JDK Your questions
Why can't you play the video , It's been going around , The network is OK
![]() |
1. You can try another browser 2. If you can't, shut down and restart
Sika-Deer |
about
JAVA Basics -HelloWorld-JDK - First, look at the effect after successful configuration Your questions
This can be downloaded jdk How many people are there
|
On the command line, enter java -version, see jdk Information about . You can see your own jdk yes 64 Bit or 32 position
Sika-Deer |
about
JAVA Basics -HelloWorld-JDK - First, look at the effect after successful configuration Your questions
64 Bit computers can install 32 Bit jdk Are you
|
64 The bit system is compatible 32 Bit .32 Bit incompatibility 64 position . Generally speaking, your computer is 64 Bit , you 32 Bit and 64 Multiple bits can be used . If your computer is 32 Bit , You can only use 32 Bit .
PaulQ |
about
JAVA Basics -HelloWorld-JDK Your questions
Please help me see
![]() |
WIN10 to configure , The personal test is feasible as follows : 1. Variable name :JAVA_HOME Variable value :E:\JDK 2. Create a new environment variable CLASSPATH Variable name :CLASSPATH Variable value :.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar You need to pay attention to the... In front of the variable value “.;” 3. Configure environment variables Path double-click Path, Click New , add to “%JAVA_HOME%\bin”; Click new again , add to “%JAVA_HOME%\jre\bin”. Special attention should be paid here ,win10 The environment variable values are line by line , Don't directly click New , add to “%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;”, Otherwise, there will be “javac Not internal or external commands ” error .
1. Create a new system variable . Name is JAVA_HOME Then select C:\Program Files\Java\jdk1.8.0_65 catalogue Click ok . 2. Choose path Click Edit , Select edit text and add... To the variable value %JAVA_HOME%\bin
LV0002580 |
about
JAVA Basics -HelloWorld-JDK Your questions
WIN10 Configuration failed
![]() |
LV0002580 |
about
JAVA Basics -HelloWorld-JDK Your questions
Why not Let me see if it's set correctly .
![]() |
ysc123000 |
about
JAVA Basics -HelloWorld-JDK Your questions
The code is written I saw No problem with the code , Compile into class Yes But why does it run like this ?
![]() |
AC5673215HL |
about
JAVA Basics -HelloWorld-JDK Your questions
win10PATH and Path Is it the same
|
Right click this computer >> attribute >> Advanced system settings >> Environment variables >> User variables --> newly build >> Variable name :JAVA_HOME --> Variable value :C:\Program Files\Java\jdk1.8.0_65 >> determine --> newly build >> Variable name :CLASS_PATH --> Variable value :C:\Program Files\Java\jdk1.8.0_65\lib >> determine On the command line, enter java -version The version number is the environment variable, and the configuration is correct
Turn on the system -> Advanced system settings -> Advanced -> Environment variables -> Edit ( System variables ) 1、 Variable name :JAVA_HOME Variable value :C:\Program Files\Java\jdk1.8.0_65 2、 Variable name :CLASSPATH Variable value :.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar; 3、 Variable name :Path Variable value :%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin; be careful : If win10, You need to %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin; Add... Separately , Otherwise you can't recognize
Turn on the system -> Advanced system settings -> Advanced -> Environment variables -> Edit ( System variables ) 1、 Variable name :JAVA_HOME Variable value :C:\Program Files\Java\jdk1.8.0_65 2、 Variable name :CLASSPATH Variable value :.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar; 3、 Variable name :Path Variable value :%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin; be careful : If win10, You need to %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin; Add... Separately , Otherwise you can't recognize
same ,windows Case insensitive
lhm123456 |
about
JAVA Basics -HelloWorld-JDK Your questions
win10JDK Environment variable configuration Download the file first jdk Unzip it to your disk 》》 The process first opens the file explorer 》》 Right click this computer 》》 Click Properties 》》 Click Advanced system settings 》》 Click environment variable 》》 Create a new... In the system variable 》》 The variable name is JAVA_HOME The variable value is D:\JDK Click ok ( The variable value is you jdk File location )》》 Then modify a variable named Path Change the value of the variable to %JAVA_HOME%\bin( double-click Path Then fill in the new variable value, click move up to the front, and click OK )》》 click win Add r Enter cmd Enter... In the window java -version Just .( be careful Java There is a space after )
|
confused Ing |
about
JAVA Basics -HelloWorld-JDK Your questions
The environment variables were correct before , After another modification, it is not correct
![]() |
153997asd |
about
JAVA Basics -HelloWorld-JDK Your questions
Right click this computer >> attribute >> Advanced system settings >> Environment variables >> User variables --> newly build >> Variable name :JAVA_HOME --> Variable value :C:\Program Files\Java\jdk1.8.0_65 >> determine --> newly build >> Variable name :CLASS_PATH --> Variable value :C:\Program Files\Java\jdk1.8.0_65\lib >> determine On the command line, enter java -version The version number is the environment variable, and the configuration is correct
|
vajurty |
about
JAVA Basics -HelloWorld-JDK Your questions
Compilation prompt output Chinese error
![]() public class ZuoYe01{ public static void main (String[ ] args){ System.out.println(" full name : Zhang San "); System.out.println(""); System.out.println(" Gender : male "); System.out.println(" Home address : Chaoyang District, Beijing "); } } |
YYYYuan |
about
JAVA Basics -HelloWorld-JDK Your questions
Excuse me, what's going on
![]() |
graceLu |
about
JAVA Basics -HelloWorld-JDK - practice - Environment variable configuration Your questions
Right click this computer >> attribute >> Advanced system settings >> Environment variables >> User variables --> newly build >> Variable name :JAVA_HOME --> Variable value :C:\Program Files\Java\jdk1.8.0_65 >> determine --> newly build >> Variable name :CLASS_PATH --> Variable value :C:\Program Files\Java\jdk1.8.0_65\lib >> determine On the command line, enter java -version The version number is the environment variable, and the configuration is correct
|
cmlla |
about
JAVA Basics -HelloWorld-JDK Your questions
change path Accidentally put classpath Deleted Want to know what the original is, and then add it
|
.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar
Sistema |
about
JAVA Basics -HelloWorld-JDK Your questions
hypothesis JDK The directory of is :C:\Program Files\Java\jdk1.8.0_65, How to adjust the configuration ? The answer is as follows : 1、 download jdk Unzip to any disk other than the system 2、 Environment configuration : computer > System properties > Advanced system settings > Advanced > Environment variables > System variables , New variable name :JAVA_HOME Variable value :E:\jdk path Edit as :%JAVA_HOME%\bin;******> determine 3、 Verify configuration : Open the console and enter java -version Test , A version number indicates success .
![]() |
LAN Jinjia |
about
JAVA Basics -HelloWorld-JDK Your questions
hypothesis JDK The directory of is :C:\Program Files\Java\jdk1.8.0_65, How to adjust the configuration ? The answer is as follows : Right click this computer → attribute → Advanced system settings → Advanced → Environment variables → Create a new file under the system variable The variable is called JAVA_HOME, The variable value is you jdk Directory where C:\Program Files\Java\jdk1.8.0_65 Then click OK
![]() |
Xiaobai River in the Jianghu |
about
JAVA Basics -HelloWorld-JDK Your questions
Handwritten error reporting , But eclipse It's OK to copy it . Buddha
![]() public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); } } |
VegetableBird |
about
JAVA Basics -HelloWorld-JDK - practice - Environment variable configuration Your questions
JAVA_HOME route C:\Program Files\Java\jdk1.8.0_65
|
JAVA_HOME :C:\Program Files\Java\jdk1.8.0_65; Path:%JAVA_HOME%\bin;
AI Bai |
about
JAVA Basics -HelloWorld-JDK Your questions
win10 Configuration failed , I don't know what's wrong
![]() |
Path The value of is preceded by a semicolon
hello___world |
about
JAVA Basics -HelloWorld-JDK Your questions
Create a new file in the environment variable of the system JAVA_HOME , Then C:\Program Files\Java\jdk1.8.0_65 Add to path In the system path Upper setting %JAVA_HOME% \bin , that will do
|
yAimer |
about
JAVA Basics -HelloWorld-JDK Your questions
First of all, I didn't think about my win10, Follow this , Then I put Path Changed to the installation path , yes , Not just add the previous string . How to withdraw its original state ? I press Baidu new win10 The installation is still wrong , It must be the wrong path
|
Dead fish eye boy |
about
JAVA Basics -HelloWorld-JDK Your questions
Always say Java Not internal or external commands That's why ?
![]() |
Bridge gently |
about
JAVA Basics -HelloWorld-JDK Your questions
task 1-1 problem : hypothesis JDK The directory of is :C:\Program Files\Java\jdk1.8.0_65, How to adjust the configuration ? answer : Put... In the system variable JAVA_HOME Change variable value to C:\Program Files\Java\jdk1.8.0_65,Path Variable value unchanged ( already existing %JAVA_HOME%\bin;)
|
Shen zzzzzz |
about
JAVA Basics -HelloWorld-JDK - Verify that the configuration is successful Your questions
this jdk How many people are there
|
jzl19970118 |
about
JAVA Basics -HelloWorld-JDK - First, look at the effect after successful configuration Your questions
The code input followed by the tutorial has completely different results , There was a problem in the first step .
![]() |
Study silently in the corner |
about
JAVA Basics -HelloWorld-JDK Your questions
hypothesis JDK The directory of is :C:\Program Files\Java\jdk1.8.0_65, How to adjust the configuration ? JAVA_HOME C:\Program Files\Java\jdk1.8.0_65 Path %JAVA_HOME%\bin;
|
czl963814 |
about
JAVA Basics -HelloWorld-JDK Your questions
teacher , The symbol you typed is %java_home%?
![]() |
Wuyou |
about
JAVA Basics -HelloWorld-JDK Your questions
Find the answer
![]() |
Li Zhengzheng, Zheng Zheng |
about
JAVA Basics -HelloWorld-JDK - First, look at the effect after successful configuration Your questions
I installed it myself. Now I can only show my own JDK
![]() |
mjallstart |
about
JAVA Basics -HelloWorld-JDK Your questions
Will JAVA_HOME Set to C:\Program Files\Java\jdk1.8.0_65 because Path The setting in is %JAVA_HOME%\bin,Path Will be automatically based on JAVA_HOME The value of , There is no need to modify .
|
Nie Luo |
about
JAVA Basics -HelloWorld-JDK Your questions
stationmaster , Mine is win10 Systematic , According to the above tutorial, the environment configuration is still unsuccessful
|
Lazy Qi |
about
JAVA Basics -HelloWorld-JDK Your questions
No e disc
|
hl950109 |
about
JAVA Basics -HelloWorld-JDK Your questions
Environment configuration error , Should be path Wrong value
![]() whole path The value of is :%JAVA_HOME%\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;D:\Microsoft VS Code\bin |
lj159633 |
about
JAVA Basics -HelloWorld-JDK Your questions
Okami ; I can't get through the first step ; Help me see what's wrong
![]() |
Then find path Edit w10 Create a new one by yourself Named %JAVA_HOME%\bin Topping no w10 Add... At the beginning %JAVA_HOME%\bin that will do
Xiaoshuai |
about
JAVA Basics -HelloWorld-JDK Your questions
Can you learn with your mobile phone
|
It's a nice day. |
about
JAVA Basics -HelloWorld-JDK - Verify that the configuration is successful Your questions
Mac How to configure environment variables . Baidu said MAC There is no need to configure environment variables . If you do not need to configure , Why ? thank you .
|
942624wsx |
about
JAVA Basics -HelloWorld-JDK - First, look at the effect after successful configuration Your questions
What does that mean
![]() |
Database |
about
JAVA Basics -HelloWorld-JDK Your questions
My little problem ?
|
The purpose of the installation is to get the files into the folder , After installation, the corresponding program running file is inside
Corleone999 |
about
JAVA Basics -HelloWorld-JDK Your questions
As the title , Really not suitable for
|
Great sorrow |
about
JAVA Basics -HelloWorld-JDK - practice - Environment variable configuration Your questions
The configuration environment does not need a configuration variable named “CLASSPATH” Are you ?
|
Hee hee woo |
about
JAVA Basics -HelloWorld-JDK - Environment variable configuration Your questions
When editing variables, you can't modify them in the following system variables
![]() |
.
WilliamGX |
about
JAVA Basics -HelloWorld-JDK - Environment variable configuration Your questions
Hello , I use it mac Can you modify the environment variable
|
public class Practice3{ public static void main(String[] args){ float money = 0; int n = 0; int eachmoney = 12000; float r = 0.2f; for(int i=0;i<100;i++){ money = (money+eachmoney)*(1+r); n++; if(money>1000000) break; } System.out.println(n); } }
Mac computer , The code for modifying environment variables is as follows export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home
Wanli mountain |
about
JAVA Basics -HelloWorld-JDK Your questions
As the title
![]() |
Wanli mountain |
about
JAVA Basics -HelloWorld-JDK Your questions
Tried many times , Finally, the installation succeeded , happy . But that Eclipse where ...
![]() |
Human evaporation |
about
JAVA Basics -HelloWorld-JDK Your questions
As the title
|
jelly_ |
about
JAVA Basics -HelloWorld-JDK Your questions
I am win10, Following this step always results in , I wonder if any of my friends see what's wrong I click the edit of system variable , There is no interface that can be moved up , It's just a page for editing variable names and values Press win+r function , Enter cmd, Come out directly and I'll take a screenshot of this interface , I don't know how I should change it
![]() |
benon94 |
about
JAVA Basics -HelloWorld-JDK - practice - Environment variable configuration Your questions
Set system variable JAVA_HOME Change the variable value of to :C:\Program Files\Java\jdk1.8.0_65
|
Create a new variable named... In the environment variable JAVA_HOME, The value of this variable is set to C:\Program Files\Java\jdk1.8.0_65 Find... In the environment variable Path variable , Click New %JAVA_HOME%\bin, Move it up to the first line .
C:\Program Files\Java\jdk1.8.0_65
%JAVA_HOME%\bin
Set system variable JAVA_HOME Change the variable value of to :C:\Program Files\Java\jdk1.8.0_65
Da anan |
about
JAVA Basics -HelloWorld-JDK Your questions
Put variables JAVA_HOME Change to C:\Program Files\Java\jdk1.8.0_65
|
JmsAllen |
about
JAVA Basics -HelloWorld-JDK - First, look at the effect after successful configuration Your questions
I want to be with my roommate 2 Human use
|
Great wealth |
about
JAVA Basics -HelloWorld-JDK Your questions
Hello , Can you help me check remotely ? thank you 17712709270
|
%JAVA_HOME%
Turn on my computer -- System properties - Advanced system settings - Environment variables Will JAVA_HOME Change to C:\Program Files\Java\jdk1.8.0_65. in addition ,jdk8 With jdk7 Different ,jdk8 After installation, the default path is C:\ProgramData\Oracle\Java\javapath\1.8, So , even if java_home The display is jdk1.7, Practical use java -version When checking , Still jdk1.8.
Will Java home Change variable value to C:\Program Files\Java\jdk1.8.0_65
Weiyang |
about
JAVA Basics -HelloWorld-JDK Your questions
Follow the steps exactly , How did this happen
![]() |
liu1410453907 |
about
JAVA Basics -HelloWorld-JDK Your questions
How to solve this problem , Ask the great God for help .
![]() |
liu1410453907 |
about
JAVA Basics -HelloWorld-JDK Your questions
..
![]() |