B4J Question [SOLVED] AS400 and integrated B4Jpackager

moore_it

Well-Known Member
Licensed User
Hi all,

i need to connect to an AS400 database using jt400.jar and it's work fine but ... when i create a standalone (.exe) program this not work.
Ideas to resolve ?

Thanks
 

moore_it

Well-Known Member
Licensed User
Yes IBM AS400 iSeries, where there is installed SAP for OS/400.
My program with jt400.jar connect to it and read and write SAP tables, it works fine if i not compile with b4jpackager but if i create a standalone program jt400.jar not connect to AS400, there isn't error messages in compiler but non connect. I think that the problem like jpoi
 
Upvote 0

moore_it

Well-Known Member
Licensed User
yes true but you need to add this

#PackagerProperty: AdditionalModuleInfoString = opens schemaorg_apache_xmlbeans.system.sD023D6490046BA0250A839A9AD24C443;
#PackagerProperty: IncludedModules = jdk.charsets

it's possible that i need package property for jt400.jar ?
 
Upvote 0

JohnJ

Member
Licensed User
Why not leave it as an executable jar file? I also have not had any luck compiling to an Windows exe file. The exe is created but does not run. So I am ok with the jar file, that works fine.
 
Upvote 0
Top