Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • puta loca: or what section can i ask this
      Today at 05:45:08 AM
    • puta loca: does someoen has platinum ps v2 files?
      Today at 05:44:59 AM
    • w azza 3: server down??
      Today at 05:07:47 AM
    • charmie: rippppppppppppppppppppppppppppppppppppppppppppppp
      May 20, 2018, 09:03:41 PM
    • Tesco Value: eco reset? :o
      May 20, 2018, 08:54:27 PM
    • Tesco Value: aw is server down? :P
      May 20, 2018, 08:54:03 PM
    • mandmgalaxy: is the game down?
      May 20, 2018, 08:05:07 PM
    • bliss death: i believe 95% of the community disliked this change heavily as it came out of nowhere. and the fact you clear ironmen banks as well. terrible change. disappointed.
      May 20, 2018, 06:08:36 PM
    • bliss death: just wondering when the server is gonna be fixed and reverted
      May 20, 2018, 06:07:36 PM
    • Saltyspade10: I'll be back ;)
      May 15, 2018, 04:43:53 PM
    • Nunubuffs:[link]
      May 15, 2018, 12:06:25 PM
    • Nunubuffs: .info god
      May 15, 2018, 12:05:40 PM
    • Nunubuffs: Www.scaperune
      May 15, 2018, 12:05:25 PM
    • Nunubuffs: Www.scaperune
      May 15, 2018, 12:05:18 PM
    • Wilkooo: Meep meep
      May 15, 2018, 04:49:58 AM
    • FoHammer: Checkout my thread here we're now live: [link]
      May 14, 2018, 08:26:59 PM
    • FoHammer: Beemonumerouno
      May 14, 2018, 08:26:25 PM
    • DeathsChaos9::|
      May 14, 2018, 07:46:09 PM
    • Service.Man: Hi guys. I've just made a new account and downloaded the server - Still can't log in. Any tips?
      May 14, 2018, 01:37:43 AM
    • beemonumerouno: where can i ask if someone has a good custom server for free?
      May 11, 2018, 04:00:25 PM

    Author Topic: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE  (Read 127529 times)

    0 Members and 1 Guest are viewing this topic.

    OfflinexCoDeR AJ

    • Member
    • **
    • Posts: 51
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1220 on: August 10, 2010, 11:49:19 PM »
    Saying "System cannot find path specified" yet I have jdk1.6.0_21? any ideaS?..
    RS2Ad banner

    OfflineDavidi2

    • Member
    • ****
    • *
    • Posts: 23,272
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1221 on: August 11, 2010, 02:33:25 PM »
    I think this thread and the 'Common Compile Errors' should me merged. No point having one thread explaining errors and another one for asking questions about the errors.
    RS2Ad banner

    Offlinedoom_j

    • i like the company of men
    • Member
    • ****
    • *
    • Posts: 7,202
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1222 on: August 12, 2010, 04:00:07 PM »
    Saying "System cannot find path specified" yet I have jdk1.6.0_21? any ideaS?..

    Did you change the compiler to use "C:\Program Files\Java\jdk1.6.0_21\bin\javac.exe *.java?
    [12:18:14 21:04:45]<<Tom>>i dont care about your rights
    [12:18:14 21:04:49] <<Tom>> you have NO RIGHTS
    RS2Ad banner

    Offlineplazma

    • First Time Poster
    • *
    • Posts: 1
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1223 on: August 14, 2010, 10:32:59 AM »
    im now getting the same problem, system cannot find the path specified.. i have the right java updates i made sure of that but i dont know whats wrong..

    OfflineXxBryantD

    • Member
    • **
    • Posts: 41
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1224 on: August 15, 2010, 05:46:37 PM »
    help


    client.java:10459: cannot find symbol
    symbol  : variable teleportToX
    location: class client
                            castOn.teleportToX = 2995;//replace with your tele X coo
    rd
                                  ^
    client.java:10460: cannot find symbol
    symbol  : variable teleportToY
    location: class client
                            castOn.teleportToY = 3123;//replace with your tele Y coo
    rd
                                  ^
    client.java:10472: cannot find symbol
    symbol  : variable teleportToX
    location: class client
                            castOn.teleportToX = 2995;//replace with your tele X coo
    rd
                                  ^
    client.java:10473: cannot find symbol
    symbol  : variable teleportToY
    location: class client
                            castOn.teleportToY = 3123;//replace with your tele Y coo
    rd
                                  ^
    Note: EconomyReset.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    4 errors
    Finished!
    Press any key to continue . . .

    Offlinestartcode

    • Member
    • ***
    • Posts: 162
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1225 on: August 17, 2010, 06:09:33 AM »
    hi,
    i checked the guide and i still have a problem with an orphaned case. it's the last error i need to fix so plz help me.

    thank you,

    startcode

    Offlineexcel4

    • Member
    • **
    • Posts: 85
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1226 on: August 18, 2010, 12:36:28 AM »
    In the client side of my server, I found another compiler. What is it for cause when I configure it, It says this-   

    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Finished!
    Press any key to continue . . .


    So Heres what I need answered...

    1. What this compiler is for
    2. How to use it
    3. When to use it

    Thanks in advance!  :P
    There's no such thing as moron.java in private servers because nobody made that file, but if there was it would be about you.

    Check out my epic Private Server website and forums site at www.GammaScape.webs.com

    OfflineDeathsChaos9

    • Skype: deathschaos9
    • Global Moderator
    • *****
    • *
    • Posts: 7,441
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1227 on: August 18, 2010, 01:04:21 AM »
    1. A java compiler takes your java source file and writes it as java bytecode in a .class file. Your computer reads the bytecode, not the code you write.
    2. You double click the batch, which you already did ;)
    3. You would use a compiler any time you edit a java source file, if you don't any changes to that file wont take effect until it is compiled.
    Peace isn't merely the absence of conflict, but the presence of justice.
    F*ck my previous inferior work...

    Play MoparScape!

    Offlineexcel4

    • Member
    • **
    • Posts: 85
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1228 on: August 18, 2010, 03:39:56 PM »
    1. A java compiler takes your java source file and writes it as java bytecode in a .class file. Your computer reads the bytecode, not the code you write.
    2. You double click the batch, which you already did ;)
    3. You would use a compiler any time you edit a java source file, if you don't any changes to that file wont take effect until it is compiled.

    Oh ok Thanks Chaos! So when I edit the a java file in the client, I use that compiler. ;D
    There's no such thing as moron.java in private servers because nobody made that file, but if there was it would be about you.

    Check out my epic Private Server website and forums site at www.GammaScape.webs.com

    OfflineMercifies

    • Member
    • ****
    • Posts: 422
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1229 on: August 18, 2010, 03:41:23 PM »
    Quote
    Oh ok Thanks Chaos! So when I edit the a java file in the client, I use that compiler. ;D

    Correct.

    Offlineimsuperman05

    • Member
    • ****
    • Posts: 5,352
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1230 on: August 18, 2010, 04:03:28 PM »
    ok i have serveral questions can someone pleaseee answer

    1.what does "the system cannot find the path specified" mean?
    2.how can i change my source file to my java version?

    OfflineBenjiiOrginal

    • First Time Poster
    • *
    • Posts: 1
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1231 on: August 18, 2010, 08:26:51 PM »
    Alright. Someones going to know what's wrong with this, and most likley say somthing about me being a noob or somthing, but I can live with that.

    Well, i'm knew to the whole RSPS coding and stuff - My clients compiler is working and has pretty much the same compiler to my source's, but when I try to compile with my source I get this message...



    The classpath is right:


    This is the compile code:

    Much appreciated if anyone can help ^^

    OfflineITI Basak ITI

    • Member
    • ***
    • Posts: 143
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1232 on: August 19, 2010, 04:49:13 AM »
    I am new to all this and wanting to start. I have become familiar on where to find things so just tell me where and I will know. Im needing help compiling the server I downloaded. Anyway, Im running on a 64-bit OS. and so my program files have the (x86)  at the end. I need help setting up my enviromental variable also. I have jdk 21 which is the latest version right now and also the latest jre and so Im set with so. Will someone please tell me what goes in my user variaables and also what goes in my system variables. Once we get that set, I need someone to write the code to put in the compiler. I know how to get into the editor screen of the compiler lol :) With all the information I have given about my OS and ma java, all the computer genius people out there should be able to put something together for me :)

    This is my Compile Edit screen:
    @echo off
    @TITLE Reality's compiler
    if exist "%programfiles%\Java" (call :compile "%programfiles%\Java\") else (goto error)
    :compile
    for /D %%x in ("%~1jdk*") do (set p="%%~x\bin\javac.exe")
    if defined p (%p% -cp . *.java)
    if defined p (goto end)
    :error
    echo You do not have Java installed. Please download it at the site that is about to load.
    :end
    echo Finished!
    pause
    exit

    What would I need to replace to make the compile work?

    Thanks again everyone and this is ver much appreciated
    Basak

    Im back again :) I created my own code for it to reconize java on my computer. But now it is telling me that I have a deprecated API and I need to recomile with Xlint. What is xlint and do I really need to get it to make this work? Just how do I fix this deprecated API problem in my compiler?
    « Last Edit: August 19, 2010, 01:56:27 PM by ITI Basak ITI »

    OfflineSaladzz

    • First Time Poster
    • *
    • Posts: 2
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1233 on: August 20, 2010, 09:39:41 AM »
    Help I dont know how to fix this coords problem
    it is currently:
    /**
     *
     * Switch Magic Types
     * @author JC
     */
    public class Coords implements Command {

       @Override
       public void execute(Player p, String command) {
    p.sm("x: " + p.getLocation().getX() + ", y: " + p.getLocation().getY() + ", height : " + p.getLocation().getZ());
       }

       @Override
       public int getRights() {
          return 0;
       }

    }


    OfflineDavidi2

    • Member
    • ****
    • *
    • Posts: 23,272
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1234 on: August 20, 2010, 09:12:15 PM »
    This thread and this thread should be combined. There is no point having two stuck threads about compilers.

    OfflineMrPurple436648

    • Member
    • **
    • Posts: 52
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1235 on: August 22, 2010, 02:59:10 AM »
    Error occurred during initialization of VM
    Java/lang/NoClassDefFoundError: java/lang/Object
    Jayden = Idol rofl

    OfflineGypsy

    • Member
    • **
    • Posts: 81
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1236 on: August 24, 2010, 11:43:49 AM »
    I need help with the following error:


    client.java:8757: titles is already defined in customCommand(java.lang.String)
                            String titles = "";
                                   ^
    1 error
    Finished!
    Press any key to continue . . .
    Current owner of 24/7 server 3c-nation. Drop by and check it out at www.3c-nation.com.

    OfflineDeathsChaos9

    • Skype: deathschaos9
    • Global Moderator
    • *****
    • *
    • Posts: 7,441
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1237 on: August 24, 2010, 05:32:37 PM »
    Rename the string, it already exists.
    Peace isn't merely the absence of conflict, but the presence of justice.
    F*ck my previous inferior work...

    Play MoparScape!

    OfflineITI Basak ITI

    • Member
    • ***
    • Posts: 143
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1238 on: August 25, 2010, 08:12:45 PM »
    Im confused now. I have a source. I have a client also. I have the source connected to the client and everything. I have the Ip address made from the website No-ip.com and I also have portforwarded it. So as far as I know everything is running correctly. The only problem that exists in my mind is how in the world will people find a client that is compatiable with my source and be able to get on. Im putting this server up for my friends and I. Where in the world will they go in order to get onto my server? Do I need a webclient? If so... how do I go about making one?

    OfflineDerqua

    • First Time Poster
    • *
    • Posts: 3
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #1239 on: August 29, 2010, 10:27:57 PM »
    Alright. Someones going to know what's wrong with this, and most likley say somthing about me being a noob or somthing, but I can live with that.

    Well, i'm knew to the whole RSPS coding and stuff - My clients compiler is working and has pretty much the same compiler to my source's, but when I try to compile with my source I get this message...



    The classpath is right:


    This is the compile code:

    Much appreciated if anyone can help ^^

    I get this same exact problem, any help?

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal