1. Welcome! Please take a few seconds to create your free account to post threads, make some friends, remove a few ads while surfing and much more. ClutchFans has been bringing fans together to talk Houston Sports since 1996. Join us!

Java development kit?

Discussion in 'BBS Hangout' started by Ubiquitin, Nov 7, 2002.

  1. Ubiquitin

    Ubiquitin Member
    Supporting Member

    Joined:
    Jul 7, 2001
    Messages:
    19,568
    Likes Received:
    14,582
    Where is this in the new j2re1.4.1 java version? I want to test my first source, and I think I use the JDK to test it.
     
  2. Surfguy

    Surfguy Member

    Joined:
    Sep 23, 1999
    Messages:
    24,963
    Likes Received:
    13,166
  3. Ubiquitin

    Ubiquitin Member
    Supporting Member

    Joined:
    Jul 7, 2001
    Messages:
    19,568
    Likes Received:
    14,582
    You mean to tell me they don't call it a JDK anymore? Thanks
     
  4. Ubiquitin

    Ubiquitin Member
    Supporting Member

    Joined:
    Jul 7, 2001
    Messages:
    19,568
    Likes Received:
    14,582
    well, any idea why the command javac will not work?
     
  5. Surfguy

    Surfguy Member

    Joined:
    Sep 23, 1999
    Messages:
    24,963
    Likes Received:
    13,166
    Umm...please check here for proper usage. You giving it the right path to the source code?
     
  6. Ubiquitin

    Ubiquitin Member
    Supporting Member

    Joined:
    Jul 7, 2001
    Messages:
    19,568
    Likes Received:
    14,582
    Ok, Surf, i have a book titled "Sams Teach Yourself Java 2". And it gives an example for you try and make.
    I downloaded the .java source from the books website.
    The says I should first type into my dos prompt cd \MYDOCU~1
    then javac HelloDan.java. Well my prompt just displays bad command or file name
     
  7. Surfguy

    Surfguy Member

    Joined:
    Sep 23, 1999
    Messages:
    24,963
    Likes Received:
    13,166
    Doesn't sound like it's finding the file path to either the javac and/or java source file.
     
  8. Ubiquitin

    Ubiquitin Member
    Supporting Member

    Joined:
    Jul 7, 2001
    Messages:
    19,568
    Likes Received:
    14,582
    Wouldn't the javac be including with the newest release from Java? Also, if I dir the folder, it shows it is in there
     
  9. Surfguy

    Surfguy Member

    Joined:
    Sep 23, 1999
    Messages:
    24,963
    Likes Received:
    13,166
    Do a search for javac.exe on your hard drive. If installed the Java runtime by itself, then the javac compiler may not be included. There was a package on that website which includes the JDK among other things.
     
  10. Ubiquitin

    Ubiquitin Member
    Supporting Member

    Joined:
    Jul 7, 2001
    Messages:
    19,568
    Likes Received:
    14,582
    Well, no javac.exe, where can i download it?
     
  11. Surfguy

    Surfguy Member

    Joined:
    Sep 23, 1999
    Messages:
    24,963
    Likes Received:
    13,166
    I think you just installed the JRE(or Java Runtime Environment). You need to install the SDK.

    Go here and install the SDK for windows(English) .

    That should give you the development tools.

    I am installing the JRE and SDK just for the hell of it to guide you through.

    Update: I changed the above link like three times in three seconds. LOL...sorry.
     
  12. Ubiquitin

    Ubiquitin Member
    Supporting Member

    Joined:
    Jul 7, 2001
    Messages:
    19,568
    Likes Received:
    14,582
    link doesn't work, but JavaTM 2 SDK, Enterprise Edition is what I need right? Well, I don't have win2000

    edit:Well its a big file, but I am dloading it. Do you think this will include the javac.exe?
     
    #12 Ubiquitin, Nov 7, 2002
    Last edited: Nov 7, 2002
  13. Surfguy

    Surfguy Member

    Joined:
    Sep 23, 1999
    Messages:
    24,963
    Likes Received:
    13,166
    I'm using the Standard version. I don't even see an Enterprise version. Oh well...it's all good ;).
     
  14. Surfguy

    Surfguy Member

    Joined:
    Sep 23, 1999
    Messages:
    24,963
    Likes Received:
    13,166
    Okay...so I installed the SDK. Apparently, it didn't do a SET PATH to the javac or whatever. So, I go to the dos prompt, type cd j2sdk1.4.1_01\bin to change the directory to where the javac.exe is, then you can type something javac c:\mybookexample\helloworld.java and whatever options you want.

    And, there you are! You are now a java developer.
     
    #14 Surfguy, Nov 7, 2002
    Last edited: Nov 7, 2002
  15. Ubiquitin

    Ubiquitin Member
    Supporting Member

    Joined:
    Jul 7, 2001
    Messages:
    19,568
    Likes Received:
    14,582
    Thanks Surf for all of the help. By the way, do you use Java daily because you sure know a lot about it?
     
  16. Surfguy

    Surfguy Member

    Joined:
    Sep 23, 1999
    Messages:
    24,963
    Likes Received:
    13,166
    Your talking to a developer with 7+ years experience. I have written some Microsoft Java(J++). I know about Sun's implementation of Java. So, I pretty much know Java. But, I know alot of the other languages as well. If you know the concepts behind programming...you can pretty much adapt to any language.

    Right now...I am on a .NET binge learning C# and all about .NET framework(all that goes with). I know a lot. You basically have to if you want to succeed in the programming arena. You can get left behind in the dust if you don't evolve your skills and skillset.

    Programming is fun and a great job...especially doing new technology and writing challenging solutions to business needs.
     
  17. Ubiquitin

    Ubiquitin Member
    Supporting Member

    Joined:
    Jul 7, 2001
    Messages:
    19,568
    Likes Received:
    14,582
    So far, I have made two .java's One's a basic System.out.println("");
    while the other is my first object oriented programing, thanks a lot SurfGuy
     

Share This Page