B4J Question Invalid/corrupt jar

hakha4

Member
Licensed User
Longtime User
Made a small project that works ok in UI but when trying to make an executable jar file it says 'invalid or corrupted file' when double click on the file. Tried to move code to a new project and start from scratch but same issue.When launching jar file from command prompt (win64) but I never get any errors,just as abowe. Updated Java and reinstalled Java SDK ( as someone in forum suggested) BUT no success. Anyone have ideas where to start debug this problem ?
Any help appreciated
 

hakha4

Member
Licensed User
Longtime User
My fault! Didn'trealize that I should RUN in release mode and that a jar file was created . I was doing Compile to library in project menu. I'm so used to compile for making an exe in other programs. Sorry to take up your time!
 
Upvote 0
Top