Jump to content
Excelsior Forums


Excelsior Staff
  • Content count

  • Joined

  • Last visited

Everything posted by kit

  1. >>Which OpenJDK build with JavaFx is JET 15.3 based on? Did JET build it directly from source based on a release tag? Yes, it is based on release tag and currently it is 1.8.0_181 (Java8u181). >> Will JET plan to be based on some public OpenJDK release build such as AdoptOpenJDK or Amazon Corretto? We have minor patches of OpenJDK that are mainly bug fixes. We plan to publish our own builds of OpenJDK that contain our patches. >>but it does not include JavaFx. You may use ZuluFX build for development. Now it is based on Java 8u202 but we do not think that it can cause problems.
  2. kit

    Issues packaging FXML application

    Actually, Excelsior JET Maven plugin invokes JetPackII itself (xpack actually -- batch mode packager). So you do not need to run it separately. In your case "javafx-swing" runtime component should be added via Excelsior JET Maven configuration as described here: https://github.com/excelsior-oss/excelsior-jet-maven-plugin/wiki/Excelsior-JET-Runtime-Configurations#optional-components To avoid such problems, it is highly recommended to perform Test Run before build to discover required JET Runtime components that are loaded by your application dynamically. Maven command for Test Run is "jet:testrun"
  3. Hi, I re-linked the executable with jetpdb you attached and then successfully packed it with xpack without any errors. The error means that the built executable is binary incompatible with current JET profile. It can happen if you install a Maintenance Pack and used old executable or you create another JET profile with endorsed jars with jetsetup but as I see it is not your case. Please attach the /home/martin/devel/apollo/buildteam/gradle_plugins/build/spockSpecifications/jet/03-jetPacking/build/jet/binary/jetMainClassTest executable and /home/martin/jet-extract-folder/profile1.8.0_144/jetrt/libXKRN15008144.so. Perhaps re-installing JET can also help
  4. kit

    OSGi bundles and Windows service

    In the begining of the project file created by Excelsior JET Control Panel. JET is not required for application to run after compilation and packaging the application with Excelsior JET.
  5. kit

    Maven plugin for War file packaging

    Hi, we have just released the new version of Maven plugin that supports Tomcat Web Applications -- https://github.com/excelsior-oss/excelsior-jet-maven-plugin#building-tomcat-web-applications . Please provide your feedback if it meets your needs
  6. kit

    Is enable use EXE file on Windows10?

    As far as we know, Excelsior JET compiled Java applications work ok on Windows 10 right now. Excelsior JET 11.0 was not tested against official JCK (Java compatibility test suite) on Windows 10, however Excelsior JET 11.3 is planned to be tested there and Windows 10 will be included to the list of officially supported platforms. We are going to release Excelsior JET 11.3 in June. Nikita
  7. Hello, Thank you very much for the provided example! We have successfully reproduced the performance degradation. We need some time to perform the analyses of this issue.
  8. kit

    getResource() doesn't work

    Please contact support: java at excelsior-usa.com Please attach a jar reproducing the problem and jet project file that you use to compile the jar
  9. kit

    jar to exe

    What JDK do you use to compile your application? If you use JDK 8, please switch to JDK 7, as Excelsior JET does not support Java 8 yet. Or you may try our early access with Java 8 support -- http://www.excelsiorjet.com/java8aot.
  10. kit

    Change maximum heap at runtime

    >>As an additional question, what would roughly be the expected maximum heap size in this system, if I set the heap limit to 'Adaptive' 4GB for 32-bit Excelsior JET, (a factor of) the installed physical memory for 64-bit Excelsior JET. >>When I try to use extreme values like 50m or 5000m I see no difference in the application's memory footprint, If you set maximum heap explicitly, Excelsior JET should not use more than you set for Java objects (but can use less of course).
  11. And moreover there is a safe solution that is implemented in Excelsior JET eight years ago -- http://www.excelsiorjet.com/solutions/java-download-size
  12. kit

    Question on JetPack II "Resources" view

    Hello, If you set for them "autodetect" option for "Pack into exe" column in JET Control Panel, then they will be always inside of the executable.
  13. kit

    Compiling JetBrains MPS

    >>but I get strange behaviour, Can you describe it?
  14. kit

    Compiling JetBrains MPS

    Hi, To make it work, you need to set -pack=none (select "none" option for "pack into exe" column on the Classpath Page) for all jars in the classpath. But please note that all JetBrains Java based products use custom classloaders to load their classes. Classes that are loaded by custom classloaders are handled by JIT in Excelsior JET, except for specially supported classloaders. As JIT compiler is rather modest in Excelsior JET, you should not expect any performance benefits when running MPS with our JIT (I would even expect performance slowdown). We support AOT compilation mode only for Eclipse RCP (Equinox OSGi) and Tomcat classloaders out of the box. We also have secret support for IntelliJ IDEA classloaders (I believe MPS uses the same classloaders as IDEA as they based on the same IntelliJ platform) but it does not support latest versions of IDEA classloaders. Unfortunately, as custom classloaders may evolve, our special classloaders support should always be updated to reflect the changes. But as we do not sell IntelliJ RCP Platform solution (due to low demand), we update our support for IDEA classloaders only from time to time. We had a hope that JetBrains itself would be interested to publish jet-compiled versions of their products (many our engineers use jet-compiled IDEA for work -- it really works faster), but unfortunately we was not able to negotiate with them regarding this subject so far. What is your interest to compile MPS with Excelsior JET? Performance?
  15. kit

    JET 9 mp2 crash windows 2008

    Hi, If you perfrom Test Run of your application in JET Control Panel do you get the same crash on Windows Server 2008? Please also contact our support with this issue: java at excelsior-usa.com
  16. kit

    lower optization level

    I do not think that it is big problem, but if you'd like you may send us .vaz files produced by 32-bit compiler to let us examine it.
  17. kit

    Crashes Messages

    Hi Roedy, You saw compilation warning that should not affect the execution of your program. So you should be able to run it without any problems. We will remove this warning to not confise anybody.
  18. Hi, We have never tested Excelsior JET under Windows PE, so it is quite probably that it does not work there. We may try to make it work there on consultency basis. If you are intersted contact our Support Dept (java at excelsior-usa.com).
  19. kit

    JetPackII : Invalid project file error

    Hi, Please contact our Support (java at excelsior-usa.com) and send us your .jpn file to let us examine the problem.
  20. Hi, It seems that you try to create a file in some folder that requires adminstrator rights (such as "Program Files") and UAC blocks it. Just after installation an application runs as adminstrator (but probably we will change it soon) and this way you are able to write files in restricted folders when it runs as admin. Next time it runs with usual right and is unable to write files in restricted folders. You may specify +runAsAdmin option in your project file to force your application always run as admin (that will always pop up UAC window in exchange) or do not write your files in restricted folders.
  21. kit

    Apple OS X Support?

    Of course, we are planning to support Mac OS X. But now we are working hard on porting Excelsior JET on 64-bit platforms. Support for 64-bit is a pre-requisite for the Mac OS X port, so I can say we are working on the latter too. You can watch our roadmap to stay tuned: http://www.excelsior-usa.com/jetroadmap.html
  22. kit

    Updatable Project

    I recommend you to employ multi-component model to resolve your problem. You may compile all your third-party jars in one DLL and the core jar into exe. This way recompilation of just an exe will be fast and update will be smaller. For more information please read JET User's Guide -- http://www.excelsior-usa.com/doc/jet/jetw013.html#0372
  23. kit

    Updatable Project

    You have to recompile the executable if you change a jar. And update package should contain updated executable not the jar.
  24. kit

    Introspection of classes at runtime?

    Do you mean Java Reflection API? Yes of course, it works.
  25. If you choose self-contained directory back-end in JetPackII then the resulting directory is what you need: you may zip it or just copy to the target machine. In this case the required files will be found by the main executable file automatically.