Search:

Type: Posts; User: hwoarang69

Page 1 of 6 1 2 3 4

Search: Search took 0.33 seconds.

  1. Replies
    32
    Views
    776

    Re: putting java class online

    i cant print it before the error. i dont think u understand that i am saying.

    again there are no error in eciples. in eciples the applet works and run fine.

    problem is when i try to load the...
  2. Replies
    32
    Views
    776

    Re: putting java class online

    i dont know what u saying here. i am execute the code that has the problem which is my Main.java. on line 204. and i am keep adding println() statment but they have some value in it. i dont...
  3. Replies
    32
    Views
    776

    Re: putting java class online

    i still getting the same error on web. but when i use eclipse there is no error or no null.
  4. Replies
    32
    Views
    776

    Re: putting java class online

    i printed the value in paint method in frond middle and end. still no null.
  5. Replies
    32
    Views
    776

    Re: putting java class online

    yes and printed the value right after the line 204
  6. Replies
    32
    Views
    776

    Re: putting java class online

    on line 204: i printed the value of 'this'

    on line 204: i printed the value of 'g'

    on line 204: i printed the value of 'background_class'


    they all have some values
  7. Replies
    32
    Views
    776

    Re: putting java class online

    i dont understand why in eclipse it have no error in Main.class but on web it gives me error.

    great now new error:


    Java Plug-in 10.17.2.02
    Using JRE version 1.7.0_17-b02 Java HotSpot(TM)...
  8. Replies
    32
    Views
    776

    Re: putting java class online

    ah now its give me this error: any idea? i have the new version




    Main.java
    line205: public void paint(Graphics g) {
    line206: background_class.paint(g, this);
    line207: ground_class.paint(g);
  9. Replies
    32
    Views
    776

    Re: putting java class online

    no erros
  10. Replies
    32
    Views
    776

    Re: putting java class online

    just download new version of java. and errors are gone. but animation isnt moving and cant see my player. is this bc of not having jar file?
  11. Replies
    32
    Views
    776

    Re: putting java class online

    i asked do i need to download new version of java?

    i already now applet dont have main method.
  12. Replies
    32
    Views
    776

    Re: putting java class online

    i asked do i need to download new version of java?

    i already now applet dont have main method.
  13. Replies
    32
    Views
    776

    Re: putting java class online

    i dont now how to put them in jar files. i was trying to put them in jar files in last post. but than u said something about Applets are not executed with the java command.

    --- Update ---

    so i...
  14. Replies
    32
    Views
    776

    Re: putting java class online

    ....so let me try again
    here is my folder. it has all my java class and images and sounds.
    1904


    in my java_game_2.php
    i am using this tag. now if it was only one file than it works fine with...
  15. Replies
    32
    Views
    776

    Re: putting java class online

    i am confuse


    i though i cant make applet into jar files?
  16. Re: can some one make me a runable jar file?

    wait so i cant make applet into jar files?
  17. Re: can some one make me a runable jar file?

    i got rid of class-path and now it give me different error:


    error: Main method not found in class Main, please define the main method as:
    public static void main(String[]args)


    but...
  18. Re: can some one make me a runable jar file?

    does this look right?
    Manifest.txt


    Main-Class: Main
    Class-Path: C:\Users\dave\My Software\workspace\2D GAME 0\src\test.jar



    what is class-path? is that the jar file path?
  19. Re: can some one make me a runable jar file?

    Manifest.txt


    main-class: Main



    1st line is main-class: Main
    2nd line is enter
    3rd line is enter
  20. Re: can some one make me a runable jar file?

    C:\Users\dave\My Software\workspace\2D GAME 0\bin>jar tf test1.jar
    META-INF/
    META-INF/MANIFEST.MF
    Background.class
    Enemy.class
    Enemy_1.class
    Ground.class
    image/
    image/background/...
  21. Re: can some one make me a runable jar file?

    1903

    here is a error on cmd
  22. Re: can some one make me a runable jar file?

    if i click on "classpath" radio button. and enter "Background.class" in class name than:


    #Searching the classpath for Background
    #user.dir is: C:\Users\dave\Desktop
    #Using classpath:...
  23. Re: can some one make me a runable jar file?

    #Searching C:\Users\dave\My Software\workspace\2D GAME 0\bin\test1.jar for image/background/background.png
    image/background/background.png >>>> class NOT found! <<<<

    # Found 1 classes. 1 NOT...
  24. Re: can some one make me a runable jar file?

    #Searching C:\Users\dave\My Software\workspace\2D GAME 0\bin\test1.jar for Background
    Background

    # Found 1 classes.


    it have all of my class. also it have a extra file name...
  25. Re: can some one make me a runable jar file?

    give me error on cmd:




    also try with no space defaultpackage\Background.class
    still same error no such file..
Results 1 to 25 of 133
Page 1 of 6 1 2 3 4