B4J Question [Solved] compilation not executable

ivanomonti

Expert
Licensed User
Longtime User
Hello everyone, it's been a while since I used B4J as I don't develop anymore, but this weekend I wrote an appilcation that should solve some of my file storage problems, now compiling the app doesn't run as a stand alone and I remember this problem that I had already raised it previously without solving anything.

May I ask what are the steps (understandable to me) to compile and distribute this simple app!
 

Attachments

  • java2.JPG
    java2.JPG
    109.4 KB · Views: 94
  • java.JPG
    java.JPG
    44.2 KB · Views: 89
  • b4j.JPG
    b4j.JPG
    55.1 KB · Views: 91

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime User
As you are using Java8, by simply clicking the app should be enough to run it.
if that doesnt work; check your java version of the PC.

enter into CMD and write: java -version
it should be java 8, if it is any other. then

Go to your java 8 folder and into the bin folder
From there run the command java.exe -version, if you see the 8 now. then run
java.exe -jar c:/path/to/your/executable.jar
 
Upvote 0

Daestrum

Expert
Licensed User
Longtime User
It looks like you compiled the jar with Java 14 ( looking at Java2.jpg).

As @aeric said Tools > Configure Paths and set to your java 8 javac.exe
 
Upvote 0

ivanomonti

Expert
Licensed User
Longtime User
I solved uninstalling everything and re installing everything... thank 100000000
 
Upvote 0
Top