B4J Question [Solved] B4JPackager11

wolfX

Member
Licensed User
Longtime User
Hi.
My system :Win 10 Pro
Java 8 Update 241
B4J 8.10

When I run B4JPackager11, it never finds the META-INF \ MANIFEST.MF file

Directory and file are missing.


If I trick and set PackageName = "b4j.example" so that it runs, an EXE comes out.

But I can not start this EXE.
What problems do I have?
 

wolfX

Member
Licensed User
Longtime User
also with JAVA SE Development Kit 11.0.6

main._appstart (java line: 114)
java.lang.RuntimeException: java.io.FileNotFoundException: C:\Progs\B4J\Projekte\B4JPAC~1\Objects\temp\META-INF\MANIFEST.MF (
The system can not find the path specified
)

any further ideas what the cause is?
 
Last edited:
Upvote 0

wolfX

Member
Licensed User
Longtime User
Hi.
My system :
Win 10 Pro
B4J 8.10
Runtime Java Version 8 Update 241
Java Development Kit C:\Java\jdk-11.0.1\bin\javac.exe

I'm trying launch4j.exe - EXE is being generated. But the EXE is not running.
-

Yes. To make it easy, I'll take the GuessMyNumber example from you
 
Upvote 0

wolfX

Member
Licensed User
Longtime User
I found the problem

I searched the computer for all old java peaces and delete it.

And I installed Java SE DEv Kit 13.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
I searched the computer for all old java peaces and delete it.
Not relevant. B4J only uses the Java that is set under Tools - Configure Paths.

And I installed Java SE DEv Kit 13.
This is a mistake.

And the solution is to follow the installation instructions...
 
Upvote 0

wolfX

Member
Licensed User
Longtime User
Morning.
"B4J only uses the Java that is set under Tools - Configure Paths. "
This was the situation at the beginnig. But the problem occurs.
I deleteted now the Java SE DEv Kit 13. Compiled again and the EXE run :)

Additional Question:
The exe need the subfolders /bin and /lib
Without the subfolders the exe dont run
Is that planned?
like this

Thanks
 
Upvote 0
Top