SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    I'm a college yuppie now! sbdi's Avatar
    Join Date
    Jul 2000
    Location
    Dublin , Ireland
    Posts
    1,271
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok i should probaly find a better place to get these tutorials =) but anyway here is the problem i would imagine its pretty basic, I CANT GET THE CLASS FILE UP =( it said the computer would make this file its self or somthing like that, so I went to sun downloadded jdk 2.0 but im not sure for what purpose can anyone enlighten me?

  2. #2
    SitePoint Enthusiast
    Join Date
    Apr 2000
    Location
    Palo Alto, CA
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey, i havent seen this post, what u need?
    Do you want to compile your .java files? to .class?
    Do you use Windows or Linux? do you have jdk?if so just run
    ur system folder: javac urJavaFile.java
    then u should get clear prompt again.
    then its done. Look in that directory and ull see new .class file(s). Youll need to edit ur autoexec.bat file if u running windows. add new line:
    PATH=C:\jdk1.2\bin;
    well... c is drive
    jdk1.x\bin is path to folder where is java*
    applications is located. Under linux install jdk in
    /usr/local/bin/jdk1.x or
    /usr/bin/jdk1.x and add path $PATH=/usr/local/bin/jdk1.x/bin/:$PATJ
    or something.
    good luck

  3. #3
    I'm a college yuppie now! sbdi's Avatar
    Join Date
    Jul 2000
    Location
    Dublin , Ireland
    Posts
    1,271
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i still cant manage to work it out, im on win98 have jdk but jdk from what i can see has mainly examples and stuff there are a few exe files but there are too many of them, im not sure really what im doing too use to macs so much easier. Could i of downloaded the wrong jdk or something?

  4. #4
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote/font><HR>I CANT GET THE CLASS FILE UP =(<HR></BLOCKQUOTE>

    What class file?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote/font><HR>it said the computer would make this file its self<HR></BLOCKQUOTE>

    What said this?

    I really don't understand what you are trying to accomplish. Can you be more specific?

    ------------------
    -Kevin Yank.
    http://www.SitePoint.com/
    Helping Small Business Grow Online!

  5. #5
    SitePoint Zealot freejavahelp's Avatar
    Join Date
    Jul 2000
    Posts
    176
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't really understand what you are saying. I got the impression that you didn't know much about the JDK, so check out http://www.freejavahelp.com/tutorial/jdk

    When it says the computer will make the Class file itself, it is probably referring to the fact that when you compile a .java file sucessfully, a .class file is made

    freejavahelp


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •