B4J Question Run a jar file from assets folder - jmon (first post)    Jan 21, 2017 I think you should copy it to your app.data folder first, then execute it with jShell B4J Question Can i use Canvas in a nonui app (server app)? - Erel (first post)    May 03, 2020   (1 reaction) Yes. You can create a UI app and don't show the main form.
However a server app (based on jServer) should be a real non-ui app. You can start a another jar with jShell. B4J Question can not run myapp.jar on a server - Erel (first post)    Feb 27, 2023 It will be easier to read this post with text instead of screenshots. If I understood correctly then you are using jShell to run curl??? Why??? Use jOkHttpUtils2. B4J Question Cannot get jShell stdOut, it only show on the log when close the app - max123    May 15, 2024 Probably I have to send an EOF before killing the process, but I do not know how I can do it, may using Robot library ? Or just using shell.WriteToInputStream ?
I attached the small project to reproduce it, here I just pass a code string to the compressor and try to get back the resulting minified B4J Question How to execute a jar from a jar - xulihang (first post)    Aug 31, 2019   (2 reactions) The extension .exe is not necessary and not cross-platform. I use jshell to run other jars, too and I find that it will automatically use the java environment which it runs on. B4J Question jShell - passing variables - jmon (first post)    Apr 11, 2017   (1 reaction) in cmd, try typing "java -help" you will get all the parameters:
so it seems that you should pass it this way, by just adding your args after the jarfile filename:
Sub startApp
Log("Starting Remote App")
jshl.Initialize("jsl","java",Array As String("-jar","myApp.jar", "arg1", "arg2", "arg B4J Question Threading library - jmon (first post)    Apr 12, 2016 The way I would do it is to create a separate JAR that modifies one image at a time. Call this JAR with the path of the image as the argument (arg()) and process the image.
Then in the main application, create a list of paths to process with jShellQueue, call the JAR for each path, set the maximum B4J Library jSensors_B4J - load, fan and temps - Roycefer    Apr 20, 2018   (7 reactions) http://central.maven..1/jSensors-2.1.jar http://central.maven..0/jPowerShell-2.0.jar http://central.maven..5.1/jna-4.5.1.jar http://central.maven.org/maven2/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar http://central.maven.org/maven2/org/slf4j/slf4j-simple/1.7.25/slf4j-simple-1.7.25.jar Down B4J Library jShell library - Erel    May 12, 2021   (5 reactions) The jShell library allows you to start other programs. It is based on Apache Commons Exec project: http://commons.apache.org/proper/commons-exec/index.html
The programs are always started asynchronously. ProcessComplete event is raised when the process completes.
The following code will run the Ja B4J Question Jshell not work with ABMaterial.jar - micro    Sep 17, 2018 Hi to all
I have a non UI program (ABMaterial.jar) that does not start using jshell from another UI program.
This the sub (sub already used that has always worked)
Sub Ruwsocketws
Dim javaexe As String
javaexe = File.Combine(GetSystemProperty("java.home", ""), "bin/java")
shws.Initialize("s Page: 1   2   3   4   5   6   7   Powered by ColBERT |