Jump to content
Excelsior Forums

parad

Members
  • Content count

    0
  • Joined

  • Last visited

    Never

Community Reputation

0 Neutral

About parad

  • Rank
    Newbie
  • Birthday 01/01/01

Profile Information

  • Location
    Norway
  1. .exe version information

    ok I'm being silly, this I guess can be done in the code itself http://www.javaworld.com/javaworld/javaqa/1999-09/01-qa-coffeecup.html
  2. .exe version information

    by adding an .ico to the .exe, the output window gets a new icon, for the actual _swing_ application itself you need to edit awt.dll in JET/bin/JRE1.4.0/bin and replace the javaTM icon allready there.. propably violates a lot of stuff by doing that
  3. .exe version information

    Any luck with this? Also wondering for stuff like icons etc. Tried Resource Hacker, but for my jc made executable I got not resources listed? http://www.users.on.net/johnson/resourcehacker/
  4. the pack was already installed, we tried singeling out only parts of the code to give to you but then the bug didn't manifest (sensitive data in the complete source)
  5. Is there a JetPack command line mode?

    from JET support mail: ------------------------- Here goes the explanation on how to use JetPack in the batch mode. 1) Create a plain text file (e.g tempfileDepScr) in the working directory with following format: =============== -f<name of file with full path from working directory> -f<....> -f<....> ---- the following items are not obligatory -fLicense314.txt - file of License -fSplash314.bmp - file of Splash -b<name of bat file> - at start .bat file -J - add JIT -R - add JRE or -R- - don't use JRE =============== Note: if you use License314.txt and fSplash314.bmp, they must be present in the working directory with exactly such names 2) run DepScr as DepScr @tempfileDepScr -dPackageScr.txt 3) Create resulting archive "ArchiveName" as DepMk -dArchiveName.exe -eDepGUI.exe -z PackageScr.txt --------------------------- I never got this working but that was with older version of JET I believe try some experiments and tell how it goes
  6. change my code from if (foo != null) { // do some stuff } else { // throw some exception } to: if (foo == null) thow somexception; // do some stuff and now it works... clearly a bug
  7. working on the problem right now on linux/win32 using jdk1.3 and jdk1.4 (on win32) everything works smoothly when using either the Piccolo (made it work, just stripped stuff from the Piccolo.jar) or crimson SAX2 parser. BUT when compiling with jc (using either crimson or Piccolo) I get a SaxException, and according to my code it should only do that when some variable is null. Now, on java it is _not_ null, and when dumping the variable one line above the actual if test it's not null when using jc either! It all seems like there might be some bug in jc public void startElement(.....) { String foo = bar.something(); if (foo != null) { System.out.println("notnull: " + foo); } else { System.out.println("null: " + foo) } } with similar code as above our myapp.exe returns: notnull: whatever#1 which is ok, but then: notnull: whatever#2 null: whatever#2 which is NOT ok... seems like it optimize away the else??
  8. tried this and used the org/xml part from the Piccolo.jar (stripped some stuff out of that one as well), but then I get: F425 file open error: "org/xml/sax/~Locator.sym" no such file but it's _there_ inside the jar I'm using (trippel checked) It fails in the parsing stage. The file is _not_ present in the sym dir though. so ... The original Piccolo.jar works well when using jdk1.4 and javac, but with jc it don't
  9. Using the SAX1/2 parser Piccolo (http://piccolo.sourceforge.net/) and it has I think some small differences in the org.xml.sax interfaces. I use -IGNORECLASSDUPLICATION+ and that makes the program compile, but it chrashes on execution. So I was wondering if anyone knew how to make JET use the packages defined by !module to override packages in the JDK? (both JDK1.4 and Piccolo.jar has org.xml.sax... in it)
  10. Just wondering what people get (using taskinfo, sysmon or wintop) as their total MB used by their JET compiled program?. Changing heaplimit, turning of gendebug and lineno didn't change much for me. The _total MB_ for my app is still about 600MB! (Mozilla gets about 70MB in comparison) (heaplimit set to 40MB). The active memory usage is about 22MB, but if it has to swap 600MB things are bound to get slow? (It's a swing app)
  11. is it # or % or /* or // ?
  12. I get a strange security exception when running my app (installed from deployed installshield file) Exception in thread "Thread-4" java.lang.SecurityException: class configured for MessageDigest(provider: SUN)cannot be found. sun.security.provider.SHA Don't get this on Linux (developing on linux) nor during a normal java run of the program on win32. Guess I should enable stacktrace and debug, but I wondered if this was a 'known' thing? (using jdk1.4) Also, setting the 'working dir' for the windows shortcut might be an added feature worth considering.
×