hakha4 Member Licensed User Longtime User Feb 22, 2015 #1 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
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
S sorex Expert Licensed User Longtime User Feb 22, 2015 #2 Is this a B4J project? then you're posting in the wrong forum. Upvote 0
hakha4 Member Licensed User Longtime User Feb 22, 2015 #3 sorex said: Is this a B4J project? then you're posting in the wrong forum. Click to expand... Ooops! You're right,posted in wrong forum. I see If I can move it to B4J instead Upvote 0
sorex said: Is this a B4J project? then you're posting in the wrong forum. Click to expand... Ooops! You're right,posted in wrong forum. I see If I can move it to B4J instead
Erel B4X founder Staff member Licensed User Longtime User Feb 22, 2015 #4 How are you building this jar file? Please run your app in Release mode and then upload the jar file. Upvote 0
How are you building this jar file? Please run your app in Release mode and then upload the jar file.
hakha4 Member Licensed User Longtime User Feb 22, 2015 #5 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
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!