Thread: Compiler Error

Results 1 to 4 of 4
  1. #1 Compiler Error 
    Registered Member
    Join Date
    Nov 2012
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    So.. I totally have no idea what any of this means, so when/if you help me you gotta break it down like I'm stupid, k?

    So, My compiler looks like this..

    [SPOIL]@echo off
    color 0C
    cd source
    "C:\Program Files\Java\jdk1.7.0_09\bin\javac.exe" -d ../bin/ -classpath ../lib/netscape.jar; *.java
    pause
    exit[/SPOIL]

    And the result is this..
    [SPOIL]
    Class77.java:29: warning: non-varags call of varargs method with inexact argument type for last parameter;

    Long var_long = (Long) method.invoke(runtime, null);
    ^
    cast to Object for a varargs call
    cast to Object[] for a non-varargs call and to suppress this warning
    Class216.java:22 warning: non-varargs call of varargs method with inexact argument type for last parameter;

    Method methos = var_class.getDeclaredMethod("getPlatformMBeanServe r", null);
    ^

    cast to Class for a varargs call
    cast to Class[] for a non-varargs call and to supress this warning
    Class216.java:23: warning: non-varargs call of varargs method with inexact argument type for last parameter;

    Object object =method.invoke(null, null);
    ^
    cast to Object for a varargs call
    cast to Object[] for a non-varargs call and to suppress this warning
    Class296_Sub51_Sub3.java:226: warning: non-varargs call of varargs method with inexact argument type for last parameter;

    Integer integer = (Integer) method.invoke(runtime, null);
    ^
    cast to Object for a varargs call
    cast to Object[] for a non-varargs call and to suppress this warning
    Note: Some input files use or override a deprecated API
    Note: Recompile with -Xlint: deprecation for details
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details
    4 warnings
    [/SPOIL]

    And when I try to run the actual game it says I'm missing a bunch of stuff, which I'm guessing is the result of this mess..

    I've searched on my own for a day and a half, and it's just not helping, mostly because I have no idea what's going wrong where, or how to fix it..
    Reply With Quote  
     

  2. #2  
    Registered

    Join Date
    Sep 2012
    Age
    29
    Posts
    1,984
    Thanks given
    774
    Thanks received
    846
    Rep Power
    5000
    there not errors, they are just warnings and im not sure why your missing stuff.

    Reply With Quote  
     

  3. #3  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    They're errors, they need to be multi dimensional for it to dissapear.

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Nov 2012
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Well this is the error I get when trying to log in
    [SPOIL]
    java.lang.ArrayIndexOutOfBoundsException: -128
    at Class109.method957(Class109.java:89)
    at Class109.method957(Class109.java:177)
    at Class109.method957(Class109.java:152)

    at Class296_Sub47.method3040(Class296_Sub47.java:27)
    at Class296_Sub45_Sub4.method3008(Class296_Sub4.java: 410)
    at ModeWhere.method2192(ModeWhere.java:38)
    at client.method116(client.java:1638)
    at client.method83(client.java:1843)
    at Applet_Sub1.method88(Applet_Sub1.java:159)
    at Applet_Sub1.run(Applet_Subi.java:291)
    at java.lang.Thread.Run(Unknown Source)[/SPOIL]
    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. Replies: 11
    Last Post: 08-19-2012, 12:37 AM
  2. [PI] Compiler Error
    By AddictivePkz in forum Help
    Replies: 7
    Last Post: 08-17-2012, 02:54 PM
  3. compiler error
    By CusYaBasic in forum Help
    Replies: 0
    Last Post: 12-07-2011, 01:31 AM
  4. Compiler error
    By rkcjeffrey in forum Help
    Replies: 0
    Last Post: 08-21-2011, 09:17 PM
  5. compiler error
    By Base16 in forum Help
    Replies: 0
    Last Post: 10-09-2010, 12:31 PM
Tags for this Thread

View Tag Cloud

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