Jump to content
Excelsior Forums

fatbird

Members
  • Content count

    0
  • Joined

  • Last visited

    Never

Community Reputation

0 Neutral

About fatbird

  • Rank
    Newbie
  • Birthday 01/01/01
  1. Hi everyone, Can the excelsior installer automatically installs my software in a customized folder? Can I use the command e.g.: my_software.exe "C:\\program files\\software" ? so that the installation can automatically finished without defining the destination.
  2. If I want to call an external DLL, then I cannot use getClass().getClassLoader().getResource("aa.dll").
  3. Dear all, I have a problem for resource of a relative path. Introduce: I have created an executable Jar file in the folder C:\test\, which will use a resource file language.xml (c:\test\language.xml). In the Java code, I read this xml file using relative path like getXML(".\\language.xml"). It works if I run my application from Eclipse. Problem: If I enter the folder c:\test and double click the Jar file, it also works well. but if I go to another fold like d:\ and run the command: d:\>"c:\test\abc.jar", it doesn't work, because my application cannot found the file d:\language.xml. Try to solve: Therefore I used two software (JET and NativeJ) to create exe file to solve this problem. The exe file generated by NativeJ works well if I run the command d:\>"c:\test\abc.jar". It searches language.xml from the folder where the exe file (c:\test) locates. But the exe file generated from JET still searches language.xml from d:\. Therefore, my application always tells me "cannot find language.xml file". how to solve this problem? Is this a bug of JET? Thank you very much Fatbird
  4. JNA has delivered a new version, it works with JET. Thank you very much Regards
  5. If it is a bug from JNA. But why my java application can executed from Eclipse instead from JET?? I will appreciate it. regards Fatbird
  6. Thank you for your answer. Could you please tell me if JET can pack the Jar and DLL files together into exe file? Because DLL file is easy to be replace by unauthorized user.
  7. Dear Sir, I would like to buy JET software, and now I found a bug in the trial version. my application use JNA library in order to connect native library (DLL). I have the following error in the second setting up step (Test Run): The application has started with command line: java -cp "E:\lib\mydoggy-api-1.5.0.jar;E:\lib\mydoggy-itest-1.5.0.jar;E:\lib\mydoggy-plaf-1.5.0.jar;E:\lib\mydoggy-res-1.5.0.jar; E:\lib\jna.jar" com/ugs/start/Main --------------------------------------------------------------------------- Exception in thread "main" java.lang.Error: This VM does not store fields in a predictable order at java.lang.Void.<unknown>(Unknown Source) at java.lang.Void.<unknown>(Unknown Source) at java.lang.Void.<unknown>(Unknown Source) at java.lang.Void.<unknown>(Unknown Source) Exception in thread "Thread-2" java.lang.NoClassDefFoundError: com.sun.jna.Native at java.lang.Void.<unknown>(Unknown Source) at java.lang.Void.<unknown>(Unknown Source) at java.lang.Void.<unknown>(Unknown Source) at java.lang.Void.<unknown>(Unknown Source) --------------------------------------------------------------------------- The application has terminated with exit code: 1 But my application works well in Eclipse and with JET generated command: java -cp "E:\lib\mydoggy-api-1.5.0.jar;E:\lib\mydoggy-itest-1.5.0.jar;E:\lib\mydoggy-plaf-1.5.0.jar;E:\lib\mydoggy-res-1.5.0.jar; E:\lib\jna.jar" com/ugs/start/Main I cannot understand the problem. Is it a bug? Thank you for your answer.
×