Results 1 to 7 of 7
  1. #1
    efth is offline Member
    Join Date
    Mar 2011
    Posts
    15
    Rep Power
    0

    Default Help an absolute beginner for free...

    As you can see in the title I am absolutely hilarious ;)

    However, I need help. First when I use the javav command (in a Terminal, not Java) to decompile a class file it says it can't find the file. But this isn't a big deal for me since there is a simple app for mac called JD-GUI to do that for you. But when I try to use the javac command to compile a .java file (that came from a fully-working class file) it get error messages telling me it can't find some symbols. I get these errors no matter the java file. With some javas I get the error that the file couldn't even be found.

    I'm sure this is a pathetic problem with a pathetically easy solution but yeah, I still need help with it.
    Now you might be wondering "how is this incompetent moron going to develop anything in Java". Well you're right, I probably can't do that but I can still edit pre-made scripts to my liking.

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,963
    Rep Power
    8

    Default

    If you want help, you're going to have to provide us with the code you're trying to compile- the smaller, the better. Preferably an SSCCE.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    efth is offline Member
    Join Date
    Mar 2011
    Posts
    15
    Rep Power
    0

    Default

    Sh*t! I'm sorry. I was going to, but I went to the bathroom before I did but when I came back I just posted without writing it. Wait a sec!

  4. #4
    efth is offline Member
    Join Date
    Mar 2011
    Posts
    15
    Rep Power
    0

    Default

    First error (The other ones are pretty much the same):

    /Users/myname/Desktop/MCM/a.java:33: cannot find symbol
    symbol : class se
    location: class a
    /* */ public void a(se paramse) {
    And this is from the code:
    /* */ public void a(se paramse) {
    /* 33 */ paramse.a(this);
    /* */ }
    Last edited by efth; 05-10-2011 at 07:30 PM.

  5. #5
    Toll's Avatar
    Toll is offline Senior Member
    Join Date
    May 2011
    Location
    Sweden
    Posts
    392
    Rep Power
    4

    Default

    Well... Do you have a class in there called "se"?

  6. #6
    efth is offline Member
    Join Date
    Mar 2011
    Posts
    15
    Rep Power
    0

    Default

    Yes I do, that is what's so weird.

  7. #7
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,014
    Rep Power
    20

    Default

    Have you set your classpath when you're compiling?
    The -cp flag for javac?

Similar Threads

  1. [free] Beginner looking for project
    By Anag0n in forum Jobs Wanted
    Replies: 2
    Last Post: 04-15-2011, 06:54 PM
  2. Advice for first step for absolute beginner
    By FormerBGIuser in forum New To Java
    Replies: 8
    Last Post: 03-07-2011, 10:54 AM
  3. Absolute beginner
    By duff18 in forum New To Java
    Replies: 15
    Last Post: 02-19-2011, 10:07 AM
  4. Defend Free Speech! Free Julian Assange!
    By pbrockway2 in forum Forum Lobby
    Replies: 9
    Last Post: 01-08-2011, 07:12 PM
  5. Specifying absolute path in web.xml
    By Felissa in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 07-05-2007, 06:56 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
  •