Jump to content
Excelsior Forums

Nastia

Excelsior Staff
  • Content count

    0
  • Joined

  • Last visited

    Never

Everything posted by Nastia

  1. Manually edit .jpn files

    Hi, JetPackII projects should not be modified manually. JetPackII uses relative paths if possible (relative to the project root directory within one disk). The solution may be to create a script that copies the jpn project files to the root project directory, build the package and then delete the project file. Is it suitable for you? We plan to solve this limitation (relocation of jpn projects) in the next version of Excelsior JET.
  2. Multi-app executables -> Windows Services

    Hi, JetPackII automatically recognizes multi-app executables and prompts you to make the necessary installation settings. You don't need to create any additional projects. Could you please explain the problem in more details? Why do you suppose that JetPackII didn't detect that your application was compiled in multi-app mode?
  3. Best way to invoke Application from CD

    Yes, Excelsior JET can help improve the startup time. Please create a JET project for your application (use the JET launcher). In the JET Control Panel test the application thoughtfully on the Testrun page (step 2). Then compile the project and proceed to create a deployment package with JetPackII. Select "self-contained directory" as a back-end in JetPackII. The directory named ?<project name>-native? will be created. You may copy this directory anywhere (for example to the CD) and then run the compiled application which is inside this directory, no JRE is required. You may create a script to invoke this executable and call this script from Autorun.inf file.
  4. -LOOKUP & environment variables

    Hi, Environment variables in a JET project file should be referenced as $(varname) instead of %varname%. For details, see Excelsior JET User's Guide, Chapter "JC Reference", section "Control file preprocessing".
  5. log output?

    The problem appears because java.util.logging requires the stack trace information. Please open your project with the JET Control Panel, go the Target page and set the stack trace support to "minimal". Then recompile the project (F9).
  6. Exception when running compiled lightbeam

    Unfortunately this example cannot work with Excelsior JET now. This example uses the functionality that is not required by Java SE Platform specification and is not supported in Excelsior JET. Now I am creating an issue for this problem and I suppose we will be able to support it in the future.
  7. Installing as Root on Linux

    Hi, Could you perform two experiments on your Linux system where the problem occured (under the root account)? Please look at this Linux issues: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154641 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=168266 In these issues you can find the simple test which demonstrates the bug. Do the tests crash on your machine? These bugs are known to be able to affect execution of jet-compiled executables in the way they can crash with "Runtime error #3 (trap)".
  8. Linux demo problem

    Hi John, I have tried to reproduce on Linux the problem you reported, but I have not managed to do that. (I was using the same scenario as for Windows.) Could you please describe it in more details? I need to know: what is the old JET version (4.5 ?), new version (6.4 or 6.4 MP1, Java 6 update 7 or update 10?).
  9. compilation and packaging automation

    Hi, thank you for your inquiry. >>1) in .prj files, is it possible to define classpathentries for all jar files in a given dir? At present It is not possible to do with the JET Control Panel. There is a non-documented option that can be used for this goal. However if you use it, you won't be able to open a project with GUI interface and you will need to modify it manually. So I would recommend you to create a project with the JET Control Panel first and then add the following lines +nolaunchpad !batch *jar <Directory Name> where <Directory name> contains the jars to be compiled. May I ask you, do you plan to change the content of this directory or do you need to create it once? 2) You are right, JetPackII projects should not be modified manually. >>Therefore, is it possible to *generate* the jpn file from the .exe on the commandline? No. The compiled application doesn't contain the full information for deployment. >>This would let me fully automate the process and be able to run it on a different machine without modifications. If you create a JetPackII project with all the paths relative to the root directory, then you will be able to build this project on any machine with the same folder structure. What modifications do you mean?
  10. Auto uninstall

    Hi, No, Excelsior Installer cannot do it automatically. But you can implement this functionality by writing your code (e.g. in C), compiling it to a callback DLL and then using it in the Excelsior Installer. For the detailed information please refer to the JET User's Guide, Chapter "Deployment Automation", Section "Excelsior Installer", subsection " Callback DLLs" and Section "Specifying Installation Setings", subsection "Extra-facilities".
  11. OutOfMemoryError in Win 2000

    Could you send us the project files (both for the JET Control Panel and JetPackII)?
  12. getEnclosingClass() returns null

    Hi, I have reproduced the problem, thanks for providing this example. We will work on it. Please contact the support team (java@excelsior-usa.com) if you need a hotfix.
  13. Hello Bryan, Could you please run your application under the Sun JRE on the same system where the compiled application fails. It might help to understand if the problem is related to Excelsior JET or not. If your application runs properly under the Sun JRE, please perform the Test Run of your application on the same system using JET Control Panel. (You should install Excelsior JET on that system for this testing) Open the project you used to compile your application with JET Control Panel, go to the step 2 and perform the Test Run. Does the application work properly?
  14. Hello Bryan, There are no any known problems related to?using SWT with Excelsior JET. Excelsior JET has passed the Sun's Java Compatibility Kit test suite and moreover we have thoroughly tested JET to run the applications that use SWT. I cannot give you an advice that might help without knowing the problem details. Could you please answer the following questions: -- Does the application work properly under Sun JRE? (on the same systems where the compiled application fails) -- How the compiled application fails? What are the exceptions thrown, what is printed to the console? -- On which system the compiled application fails to run? (the same system where you compile the application or another system to which you deploy the compiled application, hardware & OS). -- Did you use JETPackII to deploy the application to the other systems? -- What is the JET version you use?
  15. Native build Netbeans IDE using Excelsior JET

    Hello, You can use the following script to launch NetBeans5.0 from the command line SET JDK_DIR=C:\jdk1.5.0_06 SET NETBEANS_HOME=C:\netbeans-5.0 %JDK_DIR%\jre\bin\java.exe "-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade" "-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense" "-Xms32m" "-Xmx128m" "-Dapple.laf.useScreenMenuBar=true" "-Dnetbeans.osenv=%TMP%\nbenv2" "-Dnetbeans.osenv.nullsep=true" "-Djdk.home=%JDK_DIR%" "-Dnetbeans.home=%NETBEANS_HOME%\PLATFORM6" "-Dnetbeans.dirs=%NETBEANS_HOME%\nb5.0;%NETBEANS_HOME%\ide6;%NETBEANS_HOME%\enterprise2;%NETBEANS_HOME%\harness" "-Dnetbeans.user=%USERPROFILE%\.netbeans\5.0" "-Dnetbeans.system_http_proxy=DIRECT" "-Dsun.awt.keepWorkingSetOnMinimize=true" -cp "%NETBEANS_HOME%\PLATFORM6\lib\boot.jar;%NETBEANS_HOME%\PLATFORM6\lib\org-openide-modules.jar;%NETBEANS_HOME%\PLATFORM6\lib\org-openide-util.jar;%JDK_DIR%\lib\dt.jar;%JDK_DIR%\lib\tools.jar" org.netbeans.Main Note that NetBeans is a Java application that extensively loads classes dynamically using custom classloaders. To compile and optimize all classes including those loaded dynamically one should first collect the JITCache and compile it. For more information on this task please refer to the article? http://www.excelsior-usa.com/jetxjava.html.
  16. runtime error

    Hello, If your JET installation has expired you may download a new copy. Regarding the error. Did you try to run the same scenario under Sun JRE? Does it work properly?
  17. Compiling J2EE

    Hello, Excelsior makes a Java SE VM not an app server so we cannot certify our product as "Java Compatible, Enterprise Edition". However any Java EE app server runs on top of a Java SE VM so Excelsior JET may be used to compile and run J2EE applications. For more information about compiling Java EE applications with Excelsior JET please refer to http://www.excelsior-usa.com/jetserver.html.
  18. Hello, Unresolved import dependencies may result in throwing "NoClassDefFoundError" at run time if your application tries to access one of the absent classes listed in the warning message. The dynamic nature of Java permits using inconsistent jars and classes. Please note that absent classes may be generated during run time or "NoClassDefFoundError" may be successfully caught by the Java code. So unresolved import dependencies don't necessarily mean an error. The JET Control Panel shows this warning message for you to be sure that none of the listed classes should be included to your application.? As for third-party libraries the only option is to ignore the inconsistencies. You may also file a complaint to vendors of such jars.
  19. Exiting Programs

    For now only two things can help: to uninstall HP Share-to-Web and to relogin each time after the application exits. We will keep you posted on progress in fixing this problem.
  20. Exiting Programs

    Hello Rob, Some our customers reported the similar problem. It was caused by conflicts between the JET-compiled executable and HP Share-to-Web application. The problem went away after uninstalling the latter. We plan to start investigating this problem in the near future. Do you have this program installed on your computer?
  21. This topic has been moved to JFCMark. [iurl]http://www.excelsior-usa.com/forum/index.php?topic=844.0[/iurl]
  22. license terms

    Hello, Please contact us at? java@excelsior-usa.com and describe your project and company. Probably we will be able to relax the licensing terms for your case.
  23. license terms

    Hello, It depends on what your company manufactures, e.g. software product, devices, component/library, something else? Please, give us more info about the purpose of using JFCMark.
  24. Hi! Most probably the problem is in your application, not in the JVM. If you need help to debug your application you can benefit from Excelsior professional services. Excelsior provides custom services: developing various applications, improving performance and stability of existing Java applications, porting legacy applications to modern languages, etc. For more details see http://www.excelsior-usa.com/services.html . BTW, did you try Excelsior JET to run your application? Does it fail too? I recommend you to try the latest JET version (4.1) with all available updates http://www.excelsior-usa.com/jetdleval.html .
  25. Escape analysis

    Hello, The mentioned options are removed because they do not comply with the Java Specification. You may consider it as a side effect of certifying our product Java Compatible BTW, why do you need these options? We consider them unsafe. Anastasia.
×