last day (15 days later) » 

10:06 PM
1
A: Need help downloading JDK within Java

moonlighterI don't think downloading the jdk is problem here, but problem is that JDK path is not set up. Set your JAVA_HOME and jdk bin path in PATH variable. That should help. Let's say your downloaded jdk to "C:\Java\JDK1.8". Create new environment variable JAVA_HOME = C:\Java\JDK1.8 Edit your environme...

 
I have downloaded the path, the path was C:\Program Files (x86)\Java\jdk1.8.0_45
sorry sorry, accidentaly pressed enter
sorry again, i forgot about the enter button, and I dont get you when you said the PATH variable, as I have no clue what that is. And I am not using command prompt, I may sound stupid, but I am trying to download JDK in Jcreator, not sure where command prompt comes in.
 
you definitely are very new to java or i should say technology maybe.. I have added the steps to set these env vars in the answer. Hope this helps.
Also, look at the thread - stackoverflow.com/questions/2619584/…. Look for answer by Ankit Jain. He has posted screenshots of how to add these env variables.
 
I had you all up to Step number 6 saying on the existing PATH variable, could you please tell me where it is?(again, may sound stupid)
 
As i said in prev comment, look at the thread - stackoverflow.com/questions/2619584/…. Look for answer by Ankit Jain. He has posted screenshots of how to add these env variables.
 
I have followed the instructions, However the "Apply" button is locked and I couldnt press it. So the changes remain the same, any way I can fix this?
 
10:06 PM
i am not sure what you are doing. I am guessing that either you still have a sub-window open which is not letting you do any action on the window with Apply button OR you don't administrator privileges on your PC to make changes to env variables. Is there a OK button which is clickable?
 
Ritesh, yes I have administrator privilages, and yes, I have clicked the OK buttons
The apply button is still locked, however
 
Once you get out of the setting env variables flow, can you go back and check that the changes you made are there for JAVA_HOME and PATH. If they are there, you are good to go.
 
yes they are there, both of the variables i changed:
C:\Users\IDOTASDAS\Pictures\Screenshots\Screenshot (5).png
^ignore that please
 
If the changes are there, you should be good to go. With you being so new to this, i would suggest that you restart windows and go about doing what you were doing. Hopefully, you will not run into this issue.
 
After I restarted my PC it happened again, it told me to select the path for JDK in Jcreator. I checked my env properties and the JAVA_HOME and the PATH variables were present. Now I have absolutely no clue what to do.
 
10:06 PM
Watch this video. I am sure this is exactly what you need - youtube.com/watch?v=YMFKX7E5lW4
 
thanks Ritesh, that helped. Im sorry I couldnt upvote you, but If I could I would
 
don't worry about up-voting. I am glad i was able to help. Enjoy your java journey.
i b god, i am wondering if you can check the check mark under the vote buttons to mark this as an accepted answer. Once it turns green, that indicate that it is accepted. That will help people with similar issue get to it easily.
 

last day (15 days later) »