Results 1 to 8 of 8
  1. #1
    lmperator is offline Member
    Join Date
    Jan 2009
    Posts
    2
    Rep Power
    0

    Default Edit and compile

    Hello everyone! I am a noob, the search engine did not help me so I hope you will help me find my answer.

    I am trying to edit a java program on this website.
    cannot post links .... :(

    I downloaded the rip.jar and extracted it. I got a bunch of .class files that I converted into .java using the DJ Java decompiler. All i want to do is to combine the edited files with the other ones so that the program would work.

    The only thing I edited is the language (Slovenian) for buttons, instructions etc. I did not change anything outside the " ".
    Here are the files:
    cannot post links :(

    If I try to run the Applet1.java (I am using JCreator or the cmd with command javac Applet1.java) it says I have 80 errors. To me it seems, that the JCreator does not "see" the *.java files combined but each seperately. Most of the errors are "cannot find symbol" and "package xxxxx does not exist"

    I am a bit confused and don't know how to combine the old version with my new and embedd it into my website (html is not a problem). How do I do it?

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    What's the exact error you get there in compile. Seems you are working with wrong package name. Better to send the error message here to see.

  3. #3
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    8

    Default Cross posted !!!

    You shouldn't cross post. The reason is because somebody on one forum can try to help you, only to find out that somebody else had already posted the solution on another forum hours before.
    If you have the necessity to post on multiple forums, then advise that you have done so and post the link to the post on the other forum.

    New To Java - Edit and compile

    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  4. #4
    lmperator is offline Member
    Join Date
    Jan 2009
    Posts
    2
    Rep Power
    0

    Default

    Quote Originally Posted by Eranga View Post
    What's the exact error you get there in compile. Seems you are working with wrong package name. Better to send the error message here to see.
    The exact errors are:

    cannot find symbol class JCGroupBox
    package com.objectspace.jgl does not exist
    package jclass.bwt does not exist
    cannot find symbol class Router // and all the other variables (semaphore, frame1, line etc)
    operator + cannot be applied to <nulltype>,int

    80 errors alltogether.

    Sorry for the cross posting I will post the sollution on all forums as soon as i get it.

  5. #5
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

    Default

    One more cross post:
    Edit and compile - Dev Shed

    db

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  7. #7
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    8

    Default Sad...

    Solved the problem! Thank you very much
    The problem Was, that I did not run the .java file in root directory, so everything collapsed.
    yeah... and OP has already solved the problem and never came back to let us know about it (like was promised). That is precisely the problem with cross posting. Very sad...

    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    You know Chris, I really hate this. And also at the time I've few members on my ignore list. I don't know why people really doing this.

    Another really bad thing happen in cross posting I found is, once thread starter found a solution from one forum, he/she explain it as an expertise in another forum. Why are they cheating this much. Seems most of such members are registered in Sun forum as well, most of the cross posted threads you found are from there.

Similar Threads

  1. How To Edit/Add JSP Pages in NetBeans IDE
    By JavaForums in forum NetBeans
    Replies: 2
    Last Post: 02-17-2009, 11:14 AM
  2. Edit Command
    By viji83 in forum New To Java
    Replies: 1
    Last Post: 08-15-2008, 03:26 AM
  3. Basic keyboard input and edit
    By BHCluster in forum New To Java
    Replies: 18
    Last Post: 08-08-2008, 11:52 PM
  4. how to edit lines.
    By jason27131 in forum New To Java
    Replies: 1
    Last Post: 08-01-2007, 04:41 AM
  5. Doubt in edit and delete methods
    By ai_2007 in forum Advanced Java
    Replies: 3
    Last Post: 07-01-2007, 11:40 AM

Posting Permissions

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