Page 2 of 2 FirstFirst 12
Results 41 to 51 of 51

Thread: FADProgress

  1. #41
    Stats Whore redukt's Avatar
    Join Date
    Sep 2004
    Location
    VA, United States
    Posts
    149
    I'm having all sorts of issues with it under WinXP. The batch file won't run the GUI at all after editing the ini, and running java or javaw manually from the command line gives me an error as well. I don't have the error handy though...something about not finding the main class I believe?
    The whole world, de-acidified and filtered

    http://redukt.org

  2. #42
    Senior Member
    Join Date
    Feb 2004
    Location
    Maryland, USA
    Posts
    771
    You will get that main not found error from any Java application if it cant find your .class files, for instance in a DOS shell if you typed
    java xyz
    or
    javaw xyz

    So make sure your default directory is the same place as all the .class files, or if running from a shortcut edit the "START IN" property of the windows shortcut. If you post more details on the location of your files, the output you see for entering "java -version", and the output you see for entering "java FADProgress" in the same dir as the .class files, we can assist.

  3. #43
    Stats Whore redukt's Avatar
    Join Date
    Sep 2004
    Location
    VA, United States
    Posts
    149
    I know, that's the problem....all the classes are in the right directories. I unzipped and maintained the directory structure. I have no problem running the daemon, but the GUI just pops up with the same error every time.
    The whole world, de-acidified and filtered

    http://redukt.org

  4. #44
    dismembered Scoofy12's Avatar
    Join Date
    Apr 2002
    Location
    Between keyboard and chair
    Posts
    608
    the daemon is written in C, so just because it works doesnt mean that your java setup is working.... but beyond that, i don't really know
    C-x C-c

  5. #45
    Stats Whore redukt's Avatar
    Join Date
    Sep 2004
    Location
    VA, United States
    Posts
    149
    Found the error:

    Code:
    FADProgress\src\FADProgress.java:184: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
    (try -source 1.4 or lower to use 'enum' as an identifier)
    When I rename the identifier, compile from source and run, the GUI pops up without issue. Lines 182, 184, and 186 are the only lines affected.



    EDIT: Well, that may have been an issue, but for some reason it will only run when I run from my src directory after compiling. If I copy / paste all the newly compiled class files from the src directory into the gui directy and run the batch file, I get the same error
    The whole world, de-acidified and filtered

    http://redukt.org

  6. #46
    Senior Member
    Join Date
    Feb 2004
    Location
    Maryland, USA
    Posts
    771
    Can you post your output from "java -version" ? Is that Sun's J2SE version 5? If so I haven't tested under that, I've been using Sun's version 1.4. Perhaps your best option, for now, is to try that "-source 1.4" option from your (compiler?) output?
    Last edited by MerePeer; 06-26-2005 at 07:19 PM.

  7. #47
    Senior Member
    Join Date
    Feb 2004
    Location
    Maryland, USA
    Posts
    771
    I noticed I got the <class not found> error when I tried to run the .bat file from a network / UNC mounted share drive under Windows XP. The solution to that is either move the .class files to a local drive, or redefine your shortcut to use the java -cp argument, i.e.
    java -cp \\theshare\thesharedir\FADProgress\gui FADProgress

  8. #48
    Stats Whore redukt's Avatar
    Join Date
    Sep 2004
    Location
    VA, United States
    Posts
    149
    Code:
    C:\Documents and Settings\Chris>java -version
    java version "1.5.0_03"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
    Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode, sharing)
    The whole world, de-acidified and filtered

    http://redukt.org

  9. #49
    Stats Whore redukt's Avatar
    Join Date
    Sep 2004
    Location
    VA, United States
    Posts
    149
    It's not running from a shared directory, just a folder on my desktop named tmp\FADProgress\

    Adding the -cp switch to the batch file throws no errors, but doesn't load anything either.
    The whole world, de-acidified and filtered

    http://redukt.org

  10. #50
    Senior Member
    Join Date
    Feb 2004
    Location
    Maryland, USA
    Posts
    771
    I've placed a minor enhancement for download (thanks Bok!), version 1.03 in the normal spot http://www.free-dc.org/utilities/fadprogress/. This version adds support for two new FADProgress.ini gui settings at the request of PCZ.
    Is it possible to have a setting in the ini file to change the sort order?
    If you add these lines to your ini file it should do the job:
    sort_column=ACTIVITY
    sort_direction=ASCENDING

    Described also in the doc/0readme.txt, the sort_column takes any column header name, the sort_direction takes either ascending or descending. Both are case insensitive.

    Next I"ll see what issues we seem to have with the 1.5 aka J2SE5 upgrade.

  11. #51
    Stats Whore redukt's Avatar
    Join Date
    Sep 2004
    Location
    VA, United States
    Posts
    149
    Never before have I missed C++ since I started learning Java....
    The whole world, de-acidified and filtered

    http://redukt.org

Page 2 of 2 FirstFirst 12

Posting Permissions

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