Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 11 of 11

Thread: I am having troublefully installing java SE on windows 8

  1. #1
    Junior Member
    Join Date
    Apr 2014
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I am having troublefully installing java SE on windows 8

    I watched this video to assist me in installing java SE(https://www.youtube.com/watch?v=mINYU1AD_aw) I had no issues until about @ 2:50 mark on the video where they asked me to click on the path name but it isn't displayed on my advanced system menu. They then say if it isn't displayed, click on the "new" button. When I click on the "new" button, the menu shows a "variable name" and a "variable value" but , both boxes there are adjacent to those two variables are empty. What should I do? Why isn't the path name showing up in my advanced system settings menu when I click on the environmental variables button?


  2. #2
    Member
    Join Date
    Feb 2014
    Posts
    180
    Thanks
    0
    Thanked 48 Times in 45 Posts

    Default Re: I am having troublefully installing java SE on windows 8

    I don't know why you don't already have a PATH environment variable because I don't use Windows 8.

    When you click on the "New" button, all you need to do is fill in:
    • Variable name: PATH
    • Variable value: path to your Java installation's bin folder

    See PATH and CLASSPATH (The Java™ Tutorials > Essential Classes > The Platform Environment)

  3. #3
    Junior Member
    Join Date
    Apr 2014
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: I am having troublefully installing java SE on windows 8

    Quote Originally Posted by jashburn View Post
    I don't know why you don't already have a PATH environment variable because I don't use Windows 8.

    When you click on the "New" button, all you need to do is fill in:
    • Variable name: PATH
    • Variable value: path to your Java installation's bin folder

    See PATH and CLASSPATH (The Java™ Tutorials > Essential Classes > The Platform Environment)
    I am still lost as a an american foreigner in the sahara desert.There are no instructions for how to copy the variable path name in windows 8
    . Would I ONLY copy this phrase"C:\Program Files\Java\jdk1.8.0_05" into variable value name or do I need to copy another phrase in addition to that?

  4. #4
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: I am having troublefully installing java SE on windows 8

    Did you check out the link that jashburn provided. We'll do our best to help you, but you have to make an effort. Review the provided links, follow the instructions given either here or in the links, report back with results and ask new questions. Sometimes you just have to try things, experiment, find what works and what doesn't.

  5. #5
    Junior Member
    Join Date
    Apr 2014
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: I am having troublefully installing java SE on windows 8

    Quote Originally Posted by GregBrannon View Post
    Did you check out the link that jashburn provided. We'll do our best to help you, but you have to make an effort. Review the provided links, follow the instructions given either here or in the links, report back with results and ask new questions. Sometimes you just have to try things, experiment, find what works and what doesn't.
    I have made an effort , but I don't want to mess up my computer. The uploader in the video says that if I past in the wrong variable name, I could damaged my computer.

  6. #6
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: I am having troublefully installing java SE on windows 8

    I'm sure you could find a video that tells you that turning on your computer could damage it.

    Pasting in a wrong variable name will not damage your computer, at least not irrevocably.

  7. #7
    Member
    Join Date
    Feb 2014
    Posts
    180
    Thanks
    0
    Thanked 48 Times in 45 Posts

    Default Re: I am having troublefully installing java SE on windows 8

    Since you earlier mentioned that you do not have the PATH environment variable set, putting in the wrong value for this variable now will NOT mess up your computer. If you're modifying an environment variable that already has an existing value, then all you need to do is to copy the current value (by highlight the value and press Ctrl-C) and paste it into Notepad as a backup before modifying it.

    Quote Originally Posted by noblegas View Post
    Would I ONLY copy this phrase"C:\Program Files\Java\jdk1.8.0_05" into variable value name or do I need to copy another phrase in addition to that?
    It should be:
    • Variable name: PATH
    • Variable value: C:\Program Files\Java\jdk1.8.0_05\bin

  8. #8
    Junior Member
    Join Date
    Apr 2014
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: I am having troublefully installing java SE on windows 8

    Quote Originally Posted by jashburn View Post
    Since you earlier mentioned that you do not have the PATH environment variable set, putting in the wrong value for this variable now will NOT mess up your computer. If you're modifying an environment variable that already has an existing value, then all you need to do is to copy the current value (by highlight the value and press Ctrl-C) and paste it into Notepad as a backup before modifying it.



    It should be:
    • Variable name: PATH
    • Variable value: C:\Program Files\Java\jdk1.8.0_05\bin
    Okay, I went to environmental variables and added what you recommended in the variable name and the variable value boxes in addition to what the video uploader recommended. I go then proceed to write and compile my first java code which I saved as "test.java" in textpad 7. My output for the code is supposed to be "HellWorld!" but this is what results . HEre is the code I wrote:


    public class test{

    public static void main(String [] args){
    System.out.printIn("HellWorld!");
    }

    }
    and here is the output that resulted when I attempted to compile my code:

    C:\Users\Courtney\SkyDrive\Documents\test.java:4: error: cannot find symbol
    System.out.printIn("HellWorld!");
    ^
    symbol: method printIn(String)
    location: variable out of type PrintStream
    1 error

    Tool completed with exit code 1
    What did I do wrong

  9. #9
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: I am having troublefully installing java SE on windows 8

    Progress! Good job.

    println() has a small 'L' rather than a capital 'I'.

  10. #10
    Junior Member
    Join Date
    Apr 2014
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: I am having troublefully installing java SE on windows 8

    Thank you! That did the trick! There was a more elaborated step by step process that I had to follow when compiling my java code in windows 7 that was performed in the command window. For every java code I write and compile from now on, all I have to do now is go to textpad 7, write out my java code, select tools in textpad 7, compile and once the code compiled correctly, select the tool menu again , go to External tools and run the java application?

  11. #11
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: I am having troublefully installing java SE on windows 8

    If that's what is working for you, sounds right. You might also experiment with leaving textpad after saving your source code and going to the command line to compile the source code and run the .class file(s), but I don't know what obstacles that may introduce that the textpad approach clears for you.

Similar Threads

  1. Java and Windows
    By teslaa in forum Java Theory & Questions
    Replies: 0
    Last Post: April 3rd, 2014, 05:32 PM
  2. environmental problems of how installing what and where
    By willemjar in forum JDBC & Databases
    Replies: 4
    Last Post: August 2nd, 2013, 02:21 AM
  3. Replies: 0
    Last Post: July 2nd, 2012, 09:11 PM
  4. INSTALLING JAVA COMMUNICATION API ON A MAC OS
    By AgentDucky in forum Java ME (Mobile Edition)
    Replies: 0
    Last Post: July 1st, 2012, 01:50 PM
  5. Replies: 3
    Last Post: March 1st, 2011, 02:18 PM