Thread: paths and compilers! for xp

Results 1 to 9 of 9
  1. #1 paths and compilers! for xp 
    king swintell
    Guest
    welcome to paths compiler help!
    ---------------------------------------------------------------------------------------------------------
    Today im going to teach you the reason of the paths and how to fix alot of the
    compiler errors. Now the reason on doing this is im tired of 10billion compiler errors on server decelopment help
    it really is spamming up the place.So i decided to look around and see if there were anothers like this one,
    and so far I havent found any. If you find one link me to it and ill see if thats better than mine and ill try to get this one locked if so =).
    ---------------------------------------------------------------------------------------------------------
    Index!

    -the reason for paths
    - path making
    - compiler help
    - testing your paths "javac" basicly
    - credits
    ---------------------------------------------------------------------------------------------------------
    The reason for paths
    The reason for paths is simple really its basicly telling all your programs that need javac to go to javac
    that is why it is so easy to make a path without copy and paste.have you ever looked at a path it goes some
    thing like this C:\Program Files\Java\jdk1.6.0_03\bin you see how it is its basicly what its called its makeing a path to your javac I hope you understand that if you dont pm me or post here =)
    ---------------------------------------------------------------------------------------------------------
    path making
    as explained above path making is really easy you just gotta calm down and undertand how easy it is
    most people get worked up beacuse it looks like a big code but its really just little path find were to make your path is easy go to your latest jdk and locate your bin like this
    now that you know were to find you path you need to make the path
    go to the start menu open up mycomputer
    now at the top left it says view system information click on it. that should lead you to system propertys now click the tab that says "advanced" you should see a button at the bottem that says enviorment variables click that and you show get something that looks like this
    now that you have that open make a new user variable and call it path
    ------------------------------ like before your gonna make the path look at picture 1 that is the path-----
    like
    Code:
     C:\Program Files\Java\jdk1.6.0_03\bin
    and you should be good. but! some computers reqire you but a ;.; at the end of the class path and the path!
    so if yours dont work after youve added the class path add the ;.;
    now make a new user variable and name it classpath
    and add this
    Code:
     CLASSPATH=C:\Program Files\Java\jdk1.6.0_03\bin;%CLASSPATH%;
    again remember you might need to add the ;.; at the end if you do add these ons

    path
    Code:
    C:\Program Files\Java\jdk1.6.0_03\bin;.;
    class path
    Code:
     CLASSPATH=C:\Program Files\Java\jdk1.6.0_03\bin;%CLASSPATH%;.;
    now you have your paths! and class path!
    ---------------------------------------------------------------------------------------------------------
    compiler help
    most people scream about 1 error I cant tell you about alot of errors but this one i can
    now most poeple yell and freak out when the have the right paths and class path and jdk
    now when it says javac not reconised as an internal external command means your paths arnt right even if you have the right ones you may need add the ;.; at the end of your path and classpath see above for details now if thats not it right click your compiler and click edit it should look like this
    Code:
    @echo off
    Title Swintell v.2 Compiler
    "C:\Program Files\Java\jdk1.6.0_03\bin\javac.exe" *.java
    pause
    now that is your compilers guts its what makes it tick you see the paths? well that is what you need to fix you see the jdk1.6.0_3 well you need to change that to what ever jdk your useing that is pretty much self explanitory =) now if that doesnt fix it im not sure =P
    ---------------------------------------------------------------------------------------------------------
    Testing you javac!
    hello now that you have entered all your paths right go to your command prompt. you dont know what a command prompt is!??! ok well it is a little black box that tells you stuff X[) =P yo locate it the easy way is to go to start menu click the run option and typ "cmd" now the black box should load now type in javac
    if this comes up
    then your good but if it says javac is not reconised as an internal external command see path making for details on the ;.; and that should be it!
    ---------------------------------------------------------------------------------------------------------
    Credits!
    100% me for hand typig this tut =)

    this was not leeched and read all before you give me a comment!
     

  2. #2  
    Donator

    Frosty Teh Snowman's Avatar
    Join Date
    Sep 2007
    Posts
    1,083
    Thanks given
    86
    Thanks received
    256
    Rep Power
    103
    1 word... WHAT? lol... this could help those people needing to change their compilers to work with their jdk...lol... i already knew this too! hehe
     

  3. #3  
    king swintell
    Guest
    see if you would have read the whole thing and not breezed through it you would have seen its for helping your paths see i noticed alot of people saying that they did everything right and it still didnt work well the ;.; thing is the reason why! please read all of it....

    and hello theres only 1 sectio on compilers? lol.....you must read the whole thing before you make mindless posts..
    Last edited by king swintell; 11-17-2007 at 07:16 AM. Reason: Double posting is not allowed!
     

  4. #4 ok then hope u replie 
    Donator
    Jamal's Avatar
    Join Date
    Mar 2007
    Posts
    145
    Thanks given
    0
    Thanks received
    0
    Rep Power
    7
    very nice guid i have one problem. i done everything you said. like when i press run, then type cdm then javac it all works like in your picture, but when i try running that complier you gave. it says (look in picture) vv



    so plz can you help
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
     

  5. #5  
    I'm unique


    Join Date
    Oct 2006
    Age
    29
    Posts
    708
    Thanks given
    0
    Thanks received
    1
    Rep Power
    82
    Good guide, thanks.
    Sincerly yours,
    Simox.
     

  6. #6  
    ZammyPk25
    Guest
    Quote Originally Posted by jamal93 View Post
    very nice guid i have one problem. i done everything you said. like when i press run, then type cdm then javac it all works like in your picture, but when i try running that complier you gave. it says (look in picture) vv



    so plz can you help
    That mean, its works PERFECT!
     

  7. #7  
    king swintell
    Guest
    hey jamil that just mean all your server files were compiled perfect just think of that meaning



    " hey your server is now compiled =)"
     

  8. #8 Still not working ..? 
    Erm Pk
    Guest
    I did everything like you said ... Copyed and pasted ... Every path ... It still comes up with Javac not recognised as aexternal or internal command ... Help please ?? .. Btw im On VISTA
     

  9. #9  
    Swintell
    Guest
    lol this was my old person that The pass got lost and the email is wrong on it =/ this is my new account!
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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