Thread: I need help!

Results 1 to 7 of 7
  1. #1 I need help! 
    Registered Member
    Join Date
    Mar 2014
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Hi, I am trying to learn how to code RuneScape Private Servers. I'm a noobie but I learn fast, I have downloaded java, jdk, notepad c++, all the necessary essentials. When I try to compile my server after I have made changes to it, a cmd dialog box pops up like its suppose to. It is labeled "Optics Beta Server" like its supposed to, but the message that appears in the box is labeled "'Javac' is not recognized as an internal or external command, operable program or batch file." An image of this error is displayed below this paragraph along with the code that is in the compiler.



    Code:
    @echo off
    title Optics Beta Server - Compiler
    javac -d bin -cp ./deps/*; -sourcepath src src/server/GUI.java server.GUI
    pause
    If you have seen this before, and can help me please comment below. Serious inquiries only.
    Reply With Quote  
     

  2. #2  
    Super Donator

    Xsj's Avatar
    Join Date
    Jul 2010
    Age
    26
    Posts
    301
    Thanks given
    184
    Thanks received
    64
    Rep Power
    278
    Change javac to "C:\Program Files\Java\bin\javac.exe" or whatever your location to javac is.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Mar 2014
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Logic View Post
    add ur environment variables so u can use 'javac' instead of having to write the full path in the compiler..

    even better, scrap notepad++ and use an IDE such as Eclipse
    Can you please tell me what I'm doing wrong? I must have done something wrong hence, I still get the same message. There should be an image below this text showing you what I did.

    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Nov 2013
    Posts
    270
    Thanks given
    107
    Thanks received
    76
    Rep Power
    0
    Pretty sure you just end it with the bin\
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Mar 2014
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Here's what it says in the compiler

    Code:
    @echo off
    title Optics Beta Server - Compiler
    javac -d bin -cp ./deps/*; -sourcepath src src/server/GUI.java server.GUI
    pause
    Heres what it says on the variables. Now can someone tell me what exactly I'm doing wrong? Because I did this way before anyone told me too. I'm just going step by step so I can actually see what the hell I'm not achieving in the matter to make my server actually compile. Can someone please give me a hint? It would be appreciated. There should be an image below this paragraph that displays what my variable's say.

    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Nov 2013
    Posts
    270
    Thanks given
    107
    Thanks received
    76
    Rep Power
    0
    Quote Originally Posted by Optic View Post
    Here's what it says in the compiler

    Code:
    @echo off
    title Optics Beta Server - Compiler
    javac -d bin -cp ./deps/*; -sourcepath src src/server/GUI.java server.GUI
    pause
    Heres what it says on the variables. Now can someone tell me what exactly I'm doing wrong? Because I did this way before anyone told me too. I'm just going step by step so I can actually see what the hell I'm not achieving in the matter to make my server actually compile. Can someone please give me a hint? It would be appreciated. There should be an image below this paragraph that displays what my variable's say.

    Replace your compiler with this:

    Code:
    @echo off
    title Optics Beta Server - Compiler
    "C:\Program Files\Java\jdk1.7.0_51\bin\javac.exe" -d bin -cp ./deps/*; -sourcepath src src/server/GUI.java server.GUI
    pause
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Mar 2014
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I did that and I got this message.

    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. I need help
    By adolfo in forum Tutorials
    Replies: 0
    Last Post: 06-26-2007, 02:58 AM
  2. Need help
    By Saint in forum General
    Replies: 4
    Last Post: 05-20-2007, 02:03 AM
  3. Need help again
    By Zane in forum Showcase
    Replies: 4
    Last Post: 04-02-2007, 09:11 PM
  4. Need help choosing sig
    By Zane in forum Showcase
    Replies: 7
    Last Post: 04-02-2007, 03:14 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •