Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • delponcho: hey why when i open the jar file it doesnt open the private server it opens my actual rs page?
      Today at 12:00:37 AM
    • `Discardedx2`: deathschaos9 where r u
      December 14, 2017, 02:35:11 PM
    • stCky: mutiny
      December 14, 2017, 02:21:10 AM
    • DeathsChaos9: No, mods are missing a lot of permissions atm and its not getting fixed
      December 13, 2017, 09:44:40 PM
    • stCky: is there a mod panel (dunno if itd be assigned to ur group anyway zzz)
      December 13, 2017, 07:58:03 PM
    • stCky: lame
      December 13, 2017, 07:57:45 PM
    • DeathsChaos9: no dice
      December 13, 2017, 07:45:45 PM
    • DeathsChaos9: /help
      December 13, 2017, 07:45:40 PM
    • DeathsChaos9: /prune
      December 13, 2017, 07:45:32 PM
    • DeathsChaos9: /clear
      December 13, 2017, 07:45:29 PM
    • stCky: try /clear or /prune
      December 13, 2017, 07:18:19 PM
    • * stCky ok
      December 13, 2017, 07:17:59 PM
    • DeathsChaos9: I cant clean that >_<
      December 13, 2017, 01:41:42 AM
    • Travas: :-(
      December 12, 2017, 11:35:34 PM
    • Soulcist: :-(
      December 12, 2017, 05:33:31 PM
    • wjfgg321: 카지노사이트주소%↘∽↙%cay777。com%↘∽↙%카지노게임 해외카지노사이트 바카라사이트주소 카지노사이트 바카라사이트 온라인바카라 온라인카지노 인터넷카지노
      December 12, 2017, 12:26:24 AM
    • wjfgg321: 사설토토사이트추천 첫충20프로%s t - 2 2 5 5. c o m%가입코드 s  t  8  8안전사설토토사이트추천 토토추천 사설토토추천사이트 토토사이트주소 해외토토사이트추천 스포츠토토사이트추천 사설토토추천 안전메이저토토사이트추천 안전사설토토추천
      December 11, 2017, 10:28:52 PM
    • stCky: all these staff members and we're still covered in spam :( soulcist please actually do something
      December 11, 2017, 08:33:35 PM
    • xtragic: click below for best rs classic server.
      December 11, 2017, 07:49:49 AM
    • xtragic:[link]
      December 11, 2017, 07:49:28 AM

    Author Topic: Common Compiler Errors and Runtime Exceptions [ALL COMPILER RELATED ISSUES]  (Read 53404 times)

    0 Members and 1 Guest are viewing this topic.

    OfflineDeathsChaos9

    • Skype: deathschaos9
    • Global Moderator
    • *****
    • *
    • Posts: 7,438
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #60 on: September 02, 2010, 06:34:23 PM »
    Sometimes that happens when the sign folder is read only, or the signlink file is read only. Make sure that neither of them are read-only. Secondly, make sure client class is importing signlink.
    Code: Java
    1. importsign.signlink;
    If neither of those work, throw the client into an IDE and see if it will compile there.
    Peace isn't merely the absence of conflict, but the presence of justice.
    F*ck my previous inferior work...

    Play MoparScape!
    RS2Ad banner

    Offlineriku9182

    • Member
    • ****
    • Posts: 1,852
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #61 on: September 02, 2010, 06:44:19 PM »
    Im not pro like u i have no idea what you just said o.o
    talk in noob please?

    This is all the client is importing

    import java.applet.AppletContext;
    import java.awt.*;
    import java.io.*;
    import java.math.BigInteger;
    import java.net.*;
    import java.util.zip.CRC32;
    import java.lang.reflect.Method;
    import sign.signlink;
    import javax.swing.*;
    « Last Edit: September 02, 2010, 06:50:32 PM by riku9182 »
    Add my MSN for help, [email protected]
    Selling Very advanced PI Server + Client.
    XBL Gamertag X0ForsakenX0
    Nazi Zombies
    RSN:lil0o0o0l
    RS2Ad banner

    OfflineDeathsChaos9

    • Skype: deathschaos9
    • Global Moderator
    • *****
    • *
    • Posts: 7,438
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #62 on: September 02, 2010, 07:34:55 PM »
    You are importing signlink, now check to see if you sign folder & signlink file are read only.

    Right click the folder, select properties. There will be a box near the bottom saying Read-only, if the box is highlighted, deselect it and hit apply, than try compiling. This has happened to me before as well, and sometimes the read only never likes to change, so mess around with it, and if all hope is lost, download a Java IDE and use it to compile the client.
    Peace isn't merely the absence of conflict, but the presence of justice.
    F*ck my previous inferior work...

    Play MoparScape!
    RS2Ad banner

    Offlineriku9182

    • Member
    • ****
    • Posts: 1,852
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #63 on: September 02, 2010, 08:44:25 PM »
    You are importing signlink, now check to see if you sign folder & signlink file are read only.

    Right click the folder, select properties. There will be a box near the bottom saying Read-only, if the box is highlighted, deselect it and hit apply, than try compiling. This has happened to me before as well, and sometimes the read only never likes to change, so mess around with it, and if all hope is lost, download a Java IDE and use it to compile the client.
    All hope failed :(
    I found a nice Java IDE :D
    Ty
    « Last Edit: September 02, 2010, 09:17:15 PM by riku9182 »
    Add my MSN for help, [email protected]
    Selling Very advanced PI Server + Client.
    XBL Gamertag X0ForsakenX0
    Nazi Zombies
    RSN:lil0o0o0l

    OfflineDeathsChaos9

    • Skype: deathschaos9
    • Global Moderator
    • *****
    • *
    • Posts: 7,438
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #64 on: September 02, 2010, 09:18:38 PM »
    IDE stands for Integrated Development Environment. I use Eclipse, its relatively easy to use.
    http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/heliosr
    Peace isn't merely the absence of conflict, but the presence of justice.
    F*ck my previous inferior work...

    Play MoparScape!

    Offlineriku9182

    • Member
    • ****
    • Posts: 1,852
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #65 on: September 02, 2010, 09:49:43 PM »
    Idk wtf i did but i compiled a couple things now the server doesnt connect..
    Its on localhost
    Do i have to compile all the files first?
    Add my MSN for help, [email protected]
    Selling Very advanced PI Server + Client.
    XBL Gamertag X0ForsakenX0
    Nazi Zombies
    RSN:lil0o0o0l

    OfflineCookieScape

    • Member
    • ****
    • Posts: 340
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #66 on: September 07, 2010, 08:25:19 PM »


    HALP!
    what if the sorce doesnt have client.java do i have to get a new source??
    Quote from: spy man47
    WTF does operating system  means??

    OfflineDeathsChaos9

    • Skype: deathschaos9
    • Global Moderator
    • *****
    • *
    • Posts: 7,438
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #67 on: September 07, 2010, 08:26:31 PM »
    Try changing it from teleportToX and teleportToY to just toX and toY. The current variables haven't been declared.
    Peace isn't merely the absence of conflict, but the presence of justice.
    F*ck my previous inferior work...

    Play MoparScape!

    OfflineCookieScape

    • Member
    • ****
    • Posts: 340
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #68 on: September 07, 2010, 08:28:07 PM »
    It worked, thank you very much, and fudge. Sorry, I didn't have time to crop. I tried changing it to toX and toY in the first place, but I accidentally capitalized To, getting the same errors, rookie mistake.
    what if the sorce doesnt have client.java do i have to get a new source??
    Quote from: spy man47
    WTF does operating system  means??

    Offlineme caveman

    • Member
    • ***
    • Posts: 148
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #69 on: September 19, 2010, 05:36:39 PM »
    nevermind
    « Last Edit: September 19, 2010, 06:37:35 PM by me caveman »

    OfflineiTzM3B00M

    • Member
    • **
    • Posts: 9
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #70 on: September 25, 2010, 12:50:35 PM »
    I was trying to help my friend connect to my ip but there wasn't a compiler included so i had to make one.

    It comes up with:
    Code: [Select]
    invalid flag: *.javac
    usage: Javac (options) (source files)
    use -help for a list of possible options.
    Compiling finished!

    any help? he's running windows xp. it would be easier if it wasnt in dutch -.-'


    i changed all the javac's to java and it comes up with:


    If that never appeared. it's: http://www.yourfilelink.com/get.php?fid=576057
    « Last Edit: September 25, 2010, 01:08:35 PM by iTzM3B00M »

    OfflineDeathsChaos9

    • Skype: deathschaos9
    • Global Moderator
    • *****
    • *
    • Posts: 7,438
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #71 on: September 26, 2010, 08:48:31 AM »
    Its suppose to be *.java not *.javac.
    Peace isn't merely the absence of conflict, but the presence of justice.
    F*ck my previous inferior work...

    Play MoparScape!

    Offlinedancey88

    • Member
    • **
    • Posts: 96
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #72 on: October 10, 2010, 02:56:19 PM »
    just says you do not have jdk 5.0 or 6.0 installed which i have jdk and i dont get how to set my enviormental variables i have jdk 6u17 or 16
    « Last Edit: October 10, 2010, 02:58:45 PM by dancey88 »

    OfflineScape-JAVA

    • HEy girls
    • Member
    • ****
    • Posts: 5,255
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #73 on: October 14, 2010, 07:05:49 PM »
    just says you do not have jdk 5.0 or 6.0 installed which i have jdk and i dont get how to set my enviormental variables i have jdk 6u17 or 16

    Try this
    https://forum.moparscape.org/index.php/topic,375681.0.html/
    Or follow the souls tutorial on how to make a server it's included in the post.

    OfflineGround zero 317

    • Member
    • ***
    • Posts: 112
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #74 on: October 14, 2010, 09:21:49 PM »
    Code: [Select]
    src\server\model\players\Client.java:1808: cannot find symbol
    symbol  : class QuestHandler
    location: class server.model.players.Client
            public QuestHandler QH() {
                   ^
    src\server\model\players\Client.java:1809: cannot find symbol
    symbol  : variable QuestHandler
    location: class server.model.players.Client
                    return QuestHandler;
                           ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    2 errors
    Press any key to continue . . .

    Offlinelachdylan

    • First Time Poster
    • *
    • Posts: 1
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #75 on: October 16, 2010, 05:47:29 PM »
     hi how do u put a server online could u help me put one on.

    OfflineLostWorldPete

    • First Time Poster
    • *
    • Posts: 4
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #76 on: October 18, 2010, 12:43:32 PM »
    client.java:15649: illegal start of expression
    if(Dclaws == 3))  {
                        ^
    client.java:15652: illegal start of expression
    if(Dclaws == 2))  {
                        ^
    client.java:15656: illegal start of expression
    if(Dclaws == 1))  {
                        ^
    client.java:15660: illegal start of expression
    if(Dclaws > 0))  {
                      ^
    4 errors


    i know its probably really simple just could someone be a nice guy/girl and help :) thanks
    « Last Edit: October 18, 2010, 02:00:51 PM by LostWorldPete »

    OfflineDeathsChaos9

    • Skype: deathschaos9
    • Global Moderator
    • *****
    • *
    • Posts: 7,438
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #77 on: October 18, 2010, 02:58:02 PM »
    The second ')' is unneeded on all four of those lines.
    Peace isn't merely the absence of conflict, but the presence of justice.
    F*ck my previous inferior work...

    Play MoparScape!

    OfflineLostWorldPete

    • First Time Poster
    • *
    • Posts: 4
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #78 on: October 18, 2010, 03:05:44 PM »
    thanks and when i did that i got 100 errors but i fixed them :p

    Offlinexryz

    • Member
    • ****
    • Posts: 1,195
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #79 on: October 20, 2010, 02:02:48 PM »
    ok i have some experience with programming not as experience as if i was certified or had a degree but ok. i compiled hyperion no error. i run it, it starts no errors. i go into my browser and goto 127.0.0.1:8080/ the client starts loading then when it gets to connecting to update server the jvm crashes. im pretty sure its the jvm and not the server. i have done this on 2 computers with different versions of hyperion and jres. both times i get the same error. i havent got this error with any other java application and months ago when i was messing around with hyperion i did not have this problem. any answers would be nice thx. here is a link to a folder where i put the log files of the error: https://www.mediafire.com/?0kahhdowkungf
    "96% of people won't stand up for God
    Put this in your Sig if you are one of the 4% who will"
    "salvation - I would rather have it and never need it, then to need it and not have it"

     

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