B4J Question Which jdk and jre is more suitable for run app in win 7,8,10(32 bit)?

ghotbi

New Member
Hi
My app compiled with 1.8.0_251 JDK.
Some of my app users have 32bit windows get this error :
(Exception) java.lang.Exception: java.lang.OutOfMemoryError: Java heap space
They have installed 1.8.0_261 JRE.

Which jdk is more suitable for compile my app and Which jre is more suitable for my users?

Thanks.
 

ghotbi

New Member
Assuming that you are not using the packager tool, it doesn't matter which type of Java 8 you are using. The jar will be the same.
thanks

1) Is there any packager tool for create app ,can be run in 32 bit windows?

2) Why they get "OutOfMemory" error?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
The old Packager (not 11) will create a 32 bit package if you are using a 32 bit JDK. My recommendation is to create a 64 bit package and also provide the jar directly for the few 32 bit users.

Why they get "OutOfMemory" error?
Impossible to say without (much) more information.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…