B4J Question Problem with stand alone build

derez

Expert
Licensed User
Longtime User
I try to build a standalone package of a project and get these errors, any help to solve it ?
The program itself runs with no errors.
B4JPackager11 Version 1.40
Exe name: MyFamilyMySQL.exe
build folder: E:\B4J\Family_new\MyFamilyMySQL_client4\Objects\temp\build
InputJar: E:\B4J\Family_new\MyFamilyMySQL_client4\Objects\MyFamilyMySQL.jar
Running: E:\B4J\Family_new\MyFamilyMySQL_client4\Objects\temp\FindDosPath.exe
Running: C:\Program Files\Java\jdk-14.0.1\bin\jar
java.lang.IllegalArgumentException: malformed input off : 1322, length : 1
at java.base/java.lang.StringCoding.throwMalformed(StringCoding.java:698)
at java.base/java.lang.StringCoding.decodeUTF8_0(StringCoding.java:885)
at java.base/java.lang.StringCoding.newStringUTF8NoRepl(StringCoding.java:978)
at java.base/java.lang.System$2.newStringUTF8NoRepl(System.java:2270)
at java.base/java.util.zip.ZipCoder$UTF8.toString(ZipCoder.java:60)
at java.base/java.util.zip.ZipFile.getZipEntry(ZipFile.java:663)
at java.base/java.util.zip.ZipFile$ZipEntryIterator.next(ZipFile.java:521)
at java.base/java.util.zip.ZipFile$ZipEntryIterator.nextElement(ZipFile.java:509)
at java.base/java.util.zip.ZipFile$ZipEntryIterator.nextElement(ZipFile.java:485)
at jdk.jartool/sun.tools.jar.Main.extract(Main.java:1361)
at jdk.jartool/sun.tools.jar.Main.run(Main.java:375)
at jdk.jartool/sun.tools.jar.Main.main(Main.java:1649)
Caused by: java.nio.charset.MalformedInputException: Input length = 1
... 12 more
 

Sagenut

Expert
Licensed User
Longtime User
Program Files is a reserved folder.
Put Java JDK 14 in something like
C:\Java\Java14
Remember to modify path in B4J accordingly.
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
You may have a file with non-English character in Files tab.

 
Upvote 0

derez

Expert
Licensed User
Longtime User
You may have a file with non-English character in Files tab.

That did it ! it was there by mistake. Thank you !
 
Upvote 0
Top