Jump to content
Excelsior Forums

All Activity

This stream auto-updates     

  1. Today
  2. Great, I'll try that Sorry I come here late, because I believe I have not received any email notifying me of a reply.
  3. Yesterday
  4. Last week
  5. zztop

    Decompress .bin package

    Did you follow the installation instructions for OS X given at https://www.excelsiorjet.com/evaluate#install ?
  6. drg

    Decompress .bin package

    I downloaded the trial version to my MacBook. When I double click on it, it generates a .cpgz file. When I double click on the .cpgz file, another .bin file is generate. And then it goes corcular. I tested on two MacBooks.
  7. You can use ProGuard for your jars before compiling. It can help you remove some classes, if you believe they are not used. But do not forget to test your app on JRE after that - just to make sure you did not swept used classes by mistake.
  8. So the questions are - Am I doing correctly ? - If yes, then can I do something else to reduce the exe file ?
  9. Thanks for the excellent product. Now I'd like to prevent ExcelsiorJet from copying all the class file of the 3rd party .jar files into my final native (say .exe) file. Say if my code depends on ClassA in lib.jar, I don't want ExcelsiorJet to copy also ClassB, ClassC, ClassD inside that lib.jar into my final to be generated app.exe Versions - Excelsior 15, JDK 1.8.0_144, Tomcat 8.0, How can I do that ? Thanks ----------------------------------------- These are the steps I did to achieve an .exe file 1) Use maven-assembly-plugin to put all depended jars into a single jar named client-jar-with-dependencies.jar <build> <finalName>client</finalName> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <configuration> <executable>java</executable> <arguments> <argument>-Xms512m</argument> <argument>-Xmx512m</argument> <argument>-XX:NewRatio=3</argument> <argument>-classpath</argument> <classpath/> <argument>com.crcc.btx.ClientRunner</argument> </arguments> </configuration> </plugin> <!-- Maven Assembly Plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>2.4.1</version> <executions> <execution> <id>make-assembly</id> <!-- bind to the packaging phase --> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <!-- get all project dependencies --> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> <!-- MainClass in mainfest make a executable jar --> <archive> <manifest> <mainClass>com.crcc.btx.ClientRunner</mainClass> </manifest> </archive> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.excelsiorjet</groupId> <artifactId>excelsior-jet-maven-plugin</artifactId> <version>1.2.0</version> <configuration> <mainClass>com.crcc.btx.ClientRunner</mainClass> </configuration> </plugin> </plugins> </build> 2) Run the following to have client-jar-with-dependencies.jar mvn clean package 3) Rename the .jar file because Excelsior only takes client.jar as input cp client-jar-with-dependencies.jar client.jar 4) Generate the exe file on Windows mvn jet:build Now I would see that excelsior is busy including 15783 files into the final client.exe file, which is 59 MB. This is too much
  10. I am trying to load custom ini files external to the build. The idea was to have them in the same directory as the excelsior jet exe and load them via command line arguments. myapp.exe Config.ini db.ini When I attempt this, I get "Configuration file 'Config.ini' was not found. Please make sure the ini configuration file resides on the class path." I've tried using the batch file solution; set JETVMPROP="-Djava.class.path=.\Config.ini". or -Djava.class.path= Still no dice.. I feel like this should be something very easy I am missing. I am building the exe with the following command. mvn jet:build -Prelease-profile -DbambooBuildNumber=${bamboo.buildNumber} -Djet.home=C:\\jet15.0-eval-x86 So how does one configure the build pre/or post build to allow it to find and load external ini files?
  11. Earlier
  12. zztop

    JC console output silent/quiet

    You can specify -decor=h on the JC command line.
  13. kruherson

    JC console output silent/quiet

    Can I disable/suppress output of Excelsior Jet JC.exe tool? I am running in CMD and want to make nicer output without JC.exe output (just results). I looked in to Guide Chapter 17 JC reference, but I found nothing.
  14. Yes please check forum of lwjgl You need JVMTI to excelsior jet thanks
  15. Problem is, Oracle does not provide the CACERTS file to its Java licensees. Each JVM vendor has to enter into certificate redistribution agreements with all CAs separately. Thanks for pointing our attention to the problem.
  16. Does it work on 64-bit Oracle JRE if you use lwjgl 3.1.x?
  17. Hello everyone, I am using Excelsior Jet 15.0 ( amd64 ) I have tried - It is nothing happen with large jar if I used before 32bit ( x86 ) than I tried with amd64 ( x64 ) than it shows dump file ( large over than 300 mb ) I will upload to you via mega.nz - If your country can't see mega.nz than you can use evading vpn connector 1. Test Run output: The application has started with command line: java -cp C:\Users\SSB\Documents\MyDevJava\TestWithATSWING\SwtDemo\MyApp.jar;C:\Users\SSB\Documents\MyDevJava\TestWithATSWING\SwtDemo SwtDemo --------------------------------------------------------------------------- [LWJGL] Failed to retrieve the JVMTI interface pointer. JET RUNTIME HAS DETECTED UNRECOVERABLE ERROR: system exception at 0x00007ffdde143bb9 Please, contact Excelsior Support at <java@excelsior-usa.com>. Crash dump will be written to "C:\Users\SSB\Documents\MyDevJava\TestWithATSWING\SwtDemo\jet_dump_12180.dmp" Extra information about error is saved in the "jet_err_12180.txt" file. --------------------------------------------------------------------------- The application has terminated with exit code: 9 jet_err_12180.txt ( mega.nz ) jet_dump_12180.dmp ( mega.nz ) How do I fix that. I have tried - no success with x64 bit :/ But I don't believe that I have already tested with x86 = it works fine - I really don't understand why does it happen? It is really impossible to happen with Excelsior Jet 15 stopped work for large jar with embedded dlls if they copy to temp directory. Thanks and sorry my bad English! // EDIT: Found lwjgl 3.1 can't do with lwjgl 3.1 That is why we need report to lwjgl 3.1 creators But I have tested with Lwjgl 2.9.3 + Swt 4.7.2 = It works fine no problem and no crash. For Lwjgl 3.1.6 / 3.1.7 doesn't work
  18. Oracle 8u144's CACERTS file contains the ISRG Root X1 cert which is the root for Let's Encrypt, but the Jet jvm's CACERTS file does not. Is there a specific reason for that? I had assumed that "Excelsior JET 15 supports Java SE 8 Update 144 (1.8.0_144) out-of-the-box." meant that it would be equivalent to the Oracle jvm, , but in this case it's not.
  19. Hi, what files should be modify when I execute xlink command? I need to verify whether the call is actually necessary and I was hoping that by investigation what should be changes and whether it actually changed might answer the question. Thanks, Martin
  20. 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
  21. Hi, I am verifying couple of our older JET project scripts and there is the usage of the following 2 switched that seem no longer to be supported in JET project *.prj format: -javacommandline:=java -classpath /apollo/terminal/release.jar -Djava.library.path=/apollo/terminal -Djava.net.preferIPv4Stack=true eu.apksoft.apollo.terminal.TerminalBootstrap -jetcplastpage:=PageCompile -apptype=Plain Please verify. Thanks, Martin
  22. Hi, I wrote a simple Gradle plugin to wrap the JET execution and it turned out one of the integration tests started to fail with JET 15.0. I am attaching the prj file, zipped jetpdb folder content and full build log from which the full command line commands are shown. The java source file is just hell world without any additional dependencies: package apollosoft.build.support.gradle.jet; public class Main { public static void main(String... args) { System.out.println("Hello packed JET !"); } } The important part of the JET compilation log: Starting process 'command '/home/martin/jet-extract-folder/bin/jc''. Working directory: /home/martin/devel/apollo/buildteam/gradle_plugins/build/spockSpecifications/jet/03-jetPacking/build/jet Command: /home/martin/jet-extract-folder/bin/jc =p =a /home/martin/devel/apollo/buildteam/gradle_plugins/build/spockSpecifications/jet/03-jetPacking/build/jet/infoboard.prj Successfully started process 'command '/home/martin/jet-extract-folder/bin/jc'' Excelsior JET v15.0 Professional Edition (c) Excelsior 1997,2018 Active Java SE Version 1.8.0_144 (profile 8144) Make project "/home/martin/devel/apollo/buildteam/gradle_plugins/build/spockSpecifications/jet/03-jetPacking/build/jet/infoboard.prj" Reading /home/martin/devel/apollo/buildteam/gradle_plugins/build/spockSpecifications/jet/03-jetPacking/build/libs/03-jetPacking.jar ... 1 classes Total compilable classes within classpath entries: 1 ------------------------ Parsing Stage --------------------------------------- 1/1: /home/martin/devel/apollo/buildteam/gradle_plugins/build/spockSpecifications/jet/03-jetPacking/build/libs/03-jetPacking.jar:/apollosoft/build/support/gradle/jet/Main.class ------------------------------------------------------------------- files: 1 errors: 0 warnings: 0 notices: 0 ------------------------ Codegen Stage --------------------------------------- 0% done, 1/1 to go: /home/martin/devel/apollo/buildteam/gradle_plugins/build/spockSpecifications/jet/03-jetPacking/build/libs/03-jetPacking.jar:/apollosoft/build/support/gradle/jet/Main.class Oak optimizations Triading <init> Optimizing Generating Triading main Optimizing Generating errors(0), warnings(0), notes(0); bytes(5213), time 0.00 Preparing resources for packing ... Processing /home/martin/devel/apollo/buildteam/gradle_plugins/build/spockSpecifications/jet/03-jetPacking/build/libs/03-jetPacking.jar ... Resources were successfully prepared for packing. ------------------------------------------------------------------- files: 1 errors: 0 warnings: 0 notices: 0 XDS Link Version 2.25.40 Copyright (c) Excelsior 1995-2017. No errors, no warnings Link time 0:00.22 The important part of the JET packaging log: Starting process 'command '/home/martin/jet-extract-folder/bin/xpack''. Working directory: /home/martin/devel/apollo/buildteam/gradle_plugins/build/spockSpecifications/jet/03-jetPacking/build/jet Command: /home/martin/jet-extract-folder/bin/xpack -backend self-contained-directory -source /home/martin/devel/apollo/buildteam/gradle_plugins/build/spockSpecifications/jet/03-jetPacking/build/jet/binary -target /home/martin/devel/apollo/buildteam/gradle_plugins/build/spockSpecifications/jet/03-jetPacking/build/jet/packed Successfully started process 'command '/home/martin/jet-extract-folder/bin/xpack'' JetPackII batch mode The file /home/martin/devel/apollo/buildteam/gradle_plugins/build/spockSpecifications/jet/03-jetPacking/build/jet/binary/jetMainClassTest is compiled for the profile "1.8.0_144" but does not compatible with it. Recompile your application to fix the problem. Fatal error: No JET-compiled components in this project The build error is confusing. Please advice what is going on. Thanks, Martin infoboard.prj infoboard_jetpdb.zip jet-integration-test-build.log
  23. snowman

    Excelsior JET 15 Released

    Version 15 introduces incremental compilation for AMD64 targets and improves application performance and scalability across all platforms. Download now or learn more
  24. Please send the error log printed by the compiled Tomcat executable to java at excelsior-usa.com
  25. Hi, I am evaluating trial version of excelsior to convert an existing tomcat 8 - application war file. the war file is maven build via the jet maven plugin. The following additional details: Windows server 2012 Tomcat8 Java8 codes When the exe was generated, it could not run due to not able to find tool.jar. But there is no tool.jar for java8 but there is a tools.jar. I am not sure why it is looking for tool.jar. However, if I used the JetControlPanel directly to load the war file, I was able to run it. Strangely, when i use JetControlPanel to build it, the exe i cannot run as its looking for tool.jar again. Please advise how i can get the built exe to work. Does it need to reside under some directory?
  26. DavePritchard

    DSO missing from command line,

    Hi Hady, many thanks for the reply. ncurses is not on the system, I have just tried everything on another system which has ncurses installed, but the ncurses files are different, there are no -dev files, Also I forgot that I need to include /usr/local/xds in the PATH. So I failed to get it working. I copied all the ncurses files found in lib64 on the other system, back to the first system, but the same error occured. Downloading files is a problem as I am using PC-Linux with KDE-4 which is no longer supported, the other system has KDE-5 Plasma, which is all bugs, but does have ncurses installed . RPM's are listed listed for many other distros but not for PC_Linux, So I need a little more time to sort my way through this. ******* CONTINUED on the 19-April-18 The Latest failures ********* (* With system still using KDE4 *) [root@localhost Downloads]# rpm -i libtinfo-5.9-alt10.x86_64.rpm error: Failed dependencies: terminfo = 5.9-alt10 is needed by libtinfo-5.9-alt10.x86_64 rpmlib(SetVersions) is needed by libtinfo-5.9-alt10.x86_64 [root@localhost Downloads]# rpm -i terminfo-5.9-59.1.x86_64.rpm warning: terminfo-5.9-59.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 3dbdc284: NOKEY file /usr/share/terminfo/r/rxvt-cygwin from install of terminfo-5.9-59.1.x86_64 conflicts with file from package ncurses-5.9-9pclos201 [ USING FIND : ncurses-5.9-9pclos201 NOT FOUND, terminfo-5.9-59.1.x86_64 NOT FOUND ] (* From the above it would appear that ncurses is installed somewhere, but I cannot fine it *) Your search rpmlib(SetVersions) did not match any entry in database. [root@localhost Downloads]# rpm -i libncurses-devel-5.9-alt10.x86_64.rpm error: Failed dependencies: libncurses = 5.9-alt10 is needed by libncurses-devel-5.9-alt10.x86_64 libtinfo-devel = 5.9-alt10 is needed by libncurses-devel-5.9-alt10.x86_64 [root@localhost Downloads]# rpm -i libncurses-5.9-alt11.i586.rpm error: Failed dependencies: libtinfo = 5.9-alt11 is needed by libncurses-5.9-alt11.i586 libgpm.so.1 >= set:jgGopviN0XPf is needed by libncurses-5.9-alt11.i586 (* So into dependency hell, and the conclusion , I seem to be getting nowhere, so I will try with the system running KDE5 ( as buggy as it is At least it has the following ncurses installed : lib64ncurses5 llib64ncurses lb64ncurses-devl lib64ncursesw5 lib64ncursesw6 lib64ncursesw-devl (* But a different error has shown up as follows. *) * [./p0/src/Latin.mod 27.12 F425] * file open error: "FIO.sym" no such file IMPORT FIO$; errors 1, no warnings, lines 27, time 0.01 [dave@localhost xds]$ (* This and similar errors looks to me like the Topspeed bits are not being accessed, but as everything was copied over from the other system I am stumped as to why. and I still don't know if the original error will be cleared or not. . *) Dave P..
  27. Thank you very mach. I understand. Thanks!
  28. Hello! If the application was removed manually then you might need to remove it from the application list in "Control Panel" -> "Programs and Features". By default the installed applications don't create new registry keys. However if your application creates any file associations then the corresponding registry keys are created and thus should be removed. Also you might want to remove the application's shortcuts if any. -- Ruslan Kim
  29. hady

    DSO missing from command line,

    Hello, Dave. The gcc failure may be caused by an absence of "ncurses" library in your Linux setup. Check the advice here: https://www.cyberciti.biz/faq/linux-install-ncurses-library-headers-on-debian-ubuntu-centos-fedora/ Hope it helps. Regards, Andrey
  1. Load more activity
×