Jump to content
Excelsior Forums

All Activity

This stream auto-updates     

  1. Last week
  2. Please send the error log printed by the compiled Tomcat executable to java at excelsior-usa.com
  3. 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?
  4. 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..
  5. Thank you very mach. I understand. Thanks!
  6. 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
  7. 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
  8. DSO missing from command line,

    Hi, I am stuck again, I have compiled a small programme "Latin.mod" xc =m Latin.mod ( converted from Topspeed ) Although the files compile without errors, it still fails. The following indicates the problem, or problems, but it is meaning less to me. [ CODE ] files: 6 errors: 0(21) lines 8737 time: 0:00 speed 1747400 l/m gcc -o Latin obj/Kb1.o obj/Latin.o obj/Latin0.o obj/Menus.o obj/Mylib.o /usr/local/xds/lib/x86/libts.a /usr/local/xds/lib/x86/libxds.a -lm -lncurses /usr/bin/ld: /usr/local/xds/lib/x86/libts.a(xtsConM.o): undefined reference to symbol 'curs_set' /lib64/libtinfo.so.5: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status tmp.mkf:33: recipe for target 'Latin' failed make: *** [Latin] Error 1 external command fault 2: make -f tmp.mkf [dave@localhost xds]$ [ END CODE ] If someone could explain what I need to do to resolve this, and get a working programme, I will be very happy, any assistance welcome. Best Regards Dave P..
  9. Hello Excelsior JET team. I am using JET ver 12 on windows. I have a question about unistall of the JET applications. If users delete the JET application installed files with DELETE key of keyboard that not executed uninstall.exe. Of course, I think this case is incorrect operation. But I want to know how to uninstall completely when delete installed files without executing uninstall.exe file. Does It needs restore or clean the registry keys of Excelsior JET ?
  10. Earlier
  11. JetPack Wont Continue

    Just in addition to this, I did try to compile with the main Excellsior program and when I tried to run the application on the PC that does not have Java or Excellsior installed. Received the error Fatal error: Excelsior JET 14.00 installation cannot be found. HOW TO FIX: if you deploy the compiled executables to other machines please use the JetPackII tool to prepare the installation package. So that is what I have done. And I cannot continue PLEASE HELP!
  12. JetPack Wont Continue

    Hi All, I am new to this forum, I have installed Excelsior and have obtained a Evaluation copy for study purposes from the company. I have had some trouble using JetPack II. I have worked out that if I want to compile an .exe that does not require either Excellsior installed or Java installed that I must use JetPack II. My problem is that I cannot get past the first screen. The Next button is greyed out. I have started by creating a project and then dragging the .jar file of my application and a .txt file. The button is greyed out please see screenshot. Can anyone assist me please?
  13. No sym file, ? why, Compiles no errors, 2 warnings

    Hi Konstantin, I think I have sorted this one, A case of Uppercase in Topspeed being changed to lower case in XDS. One uppercase letter got left in the " IMPORT Mylib " Thanks again for the replies, Sorry for any head scratching over a silly error on my part. Best Regards Dave P..
  14. Error after Update to mc high sierra

    To fix such problem we have to be able to reproduce it on our side or at least investigate jet_err_***.txt file. Could you contact us by email: java[at]excelsior-usa.com?
  15. When a customer updated his Mac OS to "High Sierra", he received the following error message, and could ot execute the Excelsior-compiled application anymore: The text file was not informative; it simply repeated the error message. Any idea how to fix this?
  16. Hi Dave, First of all, you should replace "path_to_Mylib.sym" by the real path to the folder with "Mylib.sym" file. For example: xc Test.mod -lookup=*.sym=.;.\sym In any case try to run compiler in the make mode (check dependencies and recompile). xc =m Test.mod See section 4.2 "XDS compilers operation modes" in User's Guide for more details. With best regards, Konstantin
  17. No sym file, ? why, Compiles no errors, 2 warnings

    Hi Konstantin , Many thanks for the reply, as an ageing hobby coder, I am on a steep learning curve, and really appreciate the help. I checked in the xds/sym directory, Mylib.sys is in there. [ CODE ] [dave@localhost xds]$ xc Test.mod -lookup=*.sym=.;path_to_Mylib.sym XDS Modula-2 v2.40 [x86, v1.50] - build 10.05.2005 Compiling "p0/src/Test.mod" * [p0/src/Test.mod 25.07 F425] * file open error: "MyLib.sym" no such file FROM $MyLib IMPORT GetKey, Colors, RetainColors, RestoreColors, errors 1, no warnings, lines 25, time 0.01 bash: path_to_Mylib.sym: command not found [ END CODE ] So I re-compiled the Mylib.def module; then re-compiled the Mylib.mod module then tried compiling the Test.mod module again. [ CODE ] Compiling "./p0/def/Mylib.def" no errors, no warnings, lines 940, time 0.03, new symfile Compiling "./p0/src/Mylib.mod" no errors, warnings 2, lines 2552, time 0.10 * [./p0/src/Test.mod 25.07 F425] * file open error: "MyLib.sym" no such file FROM $MyLib IMPORT GetKey, Colors, RetainColors, RestoreColors, errors 1, no warnings, lines 25, time 0.01 [ END CODE ] The following is the xc.red file, this is in the xds directory xc.* = /usr/local/xds/bin *.tem = /usr/local/xds/bin *.sym = ./sym;/usr/local/xds/sym/x86 *.a = .;/usr/local/xds/lib/x86 *.o = ./obj *.def = ./def;./p0/def *.mod = ./src;./p0/src *.ob2 = ./src *.prj = . [ END ] I believed that the xc.red file did not work, however I have just tried again and all seems OK. [dave@localhost xds]$ xc Mylib.mod XDS Modula-2 v2.40 [x86, v1.50] - build 10.05.2005 Compiling "p0/src/Mylib.mod" Dave P..
  18. Hi Dave, File "Mylib.sym" is produced when "Mylib.def" is compiled. Please make sure that "Mylib.sym" has been created. Sym-files of all imported modules must be available for compiler via "xc.red" file or "lookup" equation. Try to use the following command line to compile "Test.mod" xc Test.mod -lookup=*.sym=.;path_to_Mylib.sym See section 3.5 "XDS search paths" in User's Guide for more details. With best regards, Konstantin
  19. Hi, I have compiled a module Mylib.mod, it compiles with no errors, and 2 warnings, I then tried to compile another module Test.mod which imports from Mylib, but get an error "No sym file" [ CODE Compile Mylib.mod ] [dave@localhost xds]$ xc ./p0/src/Mylib.mod XDS Modula-2 v2.40 [x86, v1.50] - build 10.05.2005 Compiling "./p0/src/Mylib.mod" * [./p0/src/Mylib.mod 743.11 W903] * function result is not used Ch := $RdKey(); * [./p0/src/Mylib.mod 2430.11 W903] * function result is not used Ch := $RdKey(); no errors, warnings 2, lines 2552, time 0.14 [ END CODE ] Here I tried to compile Test.mod, Which imports from Mylib [ CODE Compile Test.mod ] [dave@localhost xds]$ xc ./p0/src/Test.mod XDS Modula-2 v2.40 [x86, v1.50] - build 10.05.2005 Compiling "./p0/src/Test.mod" * [./p0/src/Test.mod 25.07 F425] * file open error: "MyLib.sym" no such file FROM $MyLib IMPORT GetKey, Colors, RetainColors, RestoreColors, errors 1, no warnings, lines 25, time 0.00 [ END CODE ] Both Mylib.def and Test.def compile no problems. Are the warnings causing the problem ? or am I missing something ?. [The CODE causing the warnings follows, + a similar procedure ] PROCEDURE FlushKeyBoard; VAR Ch : CHAR; BEGIN WHILE KeyPressed() DO Ch := RdKey(); (* Ok so Ch does nothing, but I don't need it to *) END; (* while *) END FlushKeyBoard; [ END CODE ] Any advice as to why there is no sym file , and what I need to do to get around this problem would be most welcome. Dave P.. One other thing, as these are library modules, where do I put them after they are compiled, so that I can import them into an application module.?. Thanks.
  20. No such obj File + Warning with "eliminated" [SOLVED].

    Hi cypok Many thanks for the reply, I am getting there slowly There was an obj directory already in p0, but not in the xds directory, so I created one in xds, and Menus.o was created after compiling. So all good there. Warnings, Woops, in changing some troublesome FOR loops to WHILE loops I left out the need to increment the loop variable, Now .no errors, no warnings Wonderful, Thanks again, Dave P..
  21. Hi Dave, XDS requires existing output directory for object files. So ensure that your "obj" directory exists. These warnings are emitted because your variable "CurrentItem" is always equal to 1 and these conditions are evaluated to TRUE or FALSE at compile time.
  22. Hi, I am still struggling to get my first module compiled, to start with I am trying to convert some Topspeed library modules written back in the 90's. The first one is Menus.mod, the Def file compiles Ok, I use the Menus module in several programmes , and have eliminated errors associated with FOR Loops etc, but now I get the following file create error, I assumed that the compiler would create this if the module compiled Ok. So has anyone any ideas as to why this error is occurring ? * [*** 0.00 F424] * file create error: "obj/Menus.o" no such file errors 1, warnings 28, lines 1917, time 0.18 [dave@localhost xds]$ ---------------------------------------------------------------------- 28 Warnings are listed !, constant condition eliminated , redundant code eliminated , unreachable code, possibly used before definition. The code compiled Ok with Topspeed and worked without bugs, so when I see the word "eliminated" To me that indicates that the code is not included and compiled, but the lines most certainly are required !. So what is the effect of these Warnings ? one procedure from Menus.mod is listed , with the associated Warnings. Any help with these issues would be most welcome.. Dave P.. PROCEDURE SetDepthWidth; [ ONE OF THE Menus.mod MODULE PROCEDURES ] VAR ThisX, LastX, ThisY, LastY : CARDINAL; BEGIN CurrentItem := 1; ChoiceWidth := 1; ChoiceDepth := 1; CurrentRec := MenuPtrs^.Choices; WHILE CurrentItem <= NumChoices DO IF CurrentItem > 1 THEN (* This line = constant condition eliminated, W902 *) CurrentRec := CurrentRec^.Next; (* This line = unreachable code, W311 *) END; WITH CurrentRec^ DO ThisX := xPos; (* This line = redundant code eliminated , W900 *) ThisY := yPos; (* This line = redundant code eliminated, W900 *) END; IF CurrentItem = 1 THEN (* This line = constant condition eliminated, W902 *) LastX := ThisX; LastY := ThisY; ELSE IF ThisX > LastX THEN (* This line = unreachable code W311, + possible use before definition $LastX, W304 *) INC( ChoiceWidth ); (* This line = unreachable code *) LastX := ThisX; END; IF ThisY > LastY THEN (* This line = unreachable code + possible use before definition $LastY, W304 *) INC( ChoiceDepth ); (* This line = unreachable code *) LastY := ThisY; END; END; (* if *) END; (* while *) END SetDepthWidth;
  23. Topspeed Convert 2 errors not understood[SOLVED]

    Many thanks for the reply Konstantin, its a great help. Your advice has got me over the first problem, I found the Topspeed info for Pos it takes an array of Char, also found info for CharPos which does the same only it takes a Char. So the 2nd problem solved. Dave P..
  24. Hi Dave, Please turn on "M2EXTENSIONS" option to solve the problem with type compatibility. <* +M2EXTENSIONS *> MODULE MyModule; in the command line xc MyModule.mod +m2extensions or in the xc.cfg file. M2EXTENSIONS - enable Modula-2 extensions If the option is set ON, the compiler allows XDS Modula-2 language extensions, such as line comment ("--"), read-only parameters, etc., to be used in the source code. As an alternative you can use type cast MenuProc := SYSTEM.CAST(PROC, NIL); As regards to the second problem, I should see the prototype of "Pos" function to give an advice. With best regards, Konstantin
  25. I am trying to convert some Topsped M2 library modules to XDS I have only just started using XDS and I am running into problems. I am having a problem understanding the following two errors. The code is as follows [ CODE ] (* This bit is Ok, for Info only *) MenuDefnPtr = POINTER TO MenuDefn; MenuDefn = RECORD MenuProc : PROC; (* Proc. to use while waiting for a responce *) (* Other bits of code *) END; [ END CODE ] (* No problem here *) When a Menu is displayed and awaits a key press, if Menu Proc has been allocated a procedure of type PROC the procedure will be called. and will return to the Menu on completion or a Key press. PROCEDURE SetMenuProc( MenuPtrs : Menu; NewProc : PROC ); this is set to NULLPROC when not required. (* in Topspeed *) MenuProc := NULLPROC; I changed NULLPROC to NIL but neither works. [ ORIGINAL CODE ] * [./p0/src/Menus.mod 556.19 E029] * incompatible types: "PROCEDURE [Modula] ()" "NILTYPE" MenuProc $:= NULLPROC; [ END Original ] [ CHANGED CODE ] * [./p0/src/Menus.mod 556.19 E029] * incompatible types: "PROCEDURE [Modula] ()" "NILTYPE" MenuProc $:= NIL; [ END Changed ] -------------------------------------------------------------------- Another Error that I cannot understand. * [./p0/src/Menus.mod 412.28 W325] * possible ambiguity; two-char array passed PosTilde := Pos( Name,$'~' ); How can '~' be a two char array, I believe CHAR is One Byte. Any help to resolve these two problems would be most welcome. Dave P..
  26. launch native java with jet dll

    Hello Stephan, If you want to run let's say class Foo with Oracle JDK and call a class Bar from JET-compiled DLL then it is not possible because these classes will require different VMs. When you run class Foo on Oracle JDK it works on Oracle HotSpot VM. At the same time class Bar can be used only by Java applications which run on Excelsior JET VM. So if you want to call class Bar from class Foo then you need either to compile class Foo with Excelsior JET or create a separate JET-compiled launcher application which will be used just to load class Foo without the need to pre-compile it. If you need more details regarding the provided solutions please don't hesitate to ask. -- Ruslan Kim Excelsior Support
  27. Hi, I want to use existing jet compiled java dll's with java code, thus calling jet compiled java class from java compiled class in byte code. Is there a java JET runtime environment available for running java native code in jet runtime enviornment ?
  1. Load more activity
×