Have two app created in Windows 10
Reserveren.jar
Updres.jar
In my windows everything works very well.
I copied these two file to my Mac.
I doubleclick My mouse and both apps. Works fine.
Now I want to Updres.jar Jshell in Reserveren.jar with:
shel2.Initialize("shel2", "java", Array As String("-jar", "Updres.jar"))
shel2.WorkingDirectory = File.DirApp
shel2.Run(10000)
Error:
Notification of java newer version download.
I did.
Java Version 8 Update 101.
Restart mac.
The same error message.
Balloon icon says "Anywhere Software.b4a.keywords.command.
Now I'm already a week on it and have all read the forum.
Maybe quite simple but I do not see it.
Can someone help me?
Thank you for the quick response billzhan.
I tried to start it in the terminal.
No respons.
Have now tried:
shel2.Initialize("shel2", "java", Array As String("-jar", File.DirApp&"/Updres.jar"))
File.DirApp displays the correct path.
And I still get the same error.
Terminal:
# cd Documenten
# cd Faunatuurlijk
# cd Reserveren
# cd Objects
I tried it again
open java -jar Updres.jar
The files /User/jackbodewes/java and /User/jackbodewes/Updres.jar do not exist.
java -version
id -F
pwd
# given that the path is ~/Documenten/Faunatuurlijk/Reserveren/Objects
ls -l ~/Documenten/Faunatuurlijk/Reserveren/Objects
ls -l ~/Documenten/Faunatuurlijk/Reserveren/Objects/Updres.jar
ls -l ~/Documenten/Faunatuurlijk/Reserveren/Objects/Reserveren.jar
Yes we did it.
You were right with the Java version 1.6.0.65
But I had to reinstall the entire SDK and not just install the java update 1.8.
Thank you very much billzhan and Erel.