hookshy Well-Known Member Licensed User Longtime User Feb 13, 2016 #1 I have problems starting a project , if I start it from the b4j console it starts ok if I click on the result.jar file it encounters a problem with some of the lib. I have java7 sdk 64 bit for b4j java 8 sdk 32 bit for b4a One of my libs works only with java 7 sdk Is there a way to explicity tell the project what java sdk to use ? Thank you
I have problems starting a project , if I start it from the b4j console it starts ok if I click on the result.jar file it encounters a problem with some of the lib. I have java7 sdk 64 bit for b4j java 8 sdk 32 bit for b4a One of my libs works only with java 7 sdk Is there a way to explicity tell the project what java sdk to use ? Thank you
DonManfred Expert Licensed User Longtime User Feb 13, 2016 #2 I guess you need to use a batchfile. Inside the batch you can use whichever java you want to start the jar Upvote 0
I guess you need to use a batchfile. Inside the batch you can use whichever java you want to start the jar
hookshy Well-Known Member Licensed User Longtime User Feb 13, 2016 #3 DonManfred said: I guess you need to use a batchfile. Inside the batch you can use whichever java you want to start the jar Click to expand... Thanks , today I have tried to start the app from another pc with java 7 sdk installed ..another strange behaviour is present I create new projects and copy new files to a certain folder but windows does not see or read the folder at all ....the files are only availlable when I click file open from the current jar aplication ?? How come ? Upvote 0
DonManfred said: I guess you need to use a batchfile. Inside the batch you can use whichever java you want to start the jar Click to expand... Thanks , today I have tried to start the app from another pc with java 7 sdk installed ..another strange behaviour is present I create new projects and copy new files to a certain folder but windows does not see or read the folder at all ....the files are only availlable when I click file open from the current jar aplication ?? How come ?
DonManfred Expert Licensed User Longtime User Feb 13, 2016 #4 Maybe your old app are still running (taskmanager)? Upvote 0
hookshy Well-Known Member Licensed User Longtime User Feb 13, 2016 #5 DonManfred said: Maybe your old app are still running (taskmanager)? Click to expand... I have restarted pc ... the jar app see folder and files that windows does not see .... the folders are not hiden ... and i have already test it on my laptop DonManfred said: I guess you need to use a batchfile. Inside the batch you can use whichever java you want to start the jar Click to expand... still searching the forum for the solution Upvote 0
DonManfred said: Maybe your old app are still running (taskmanager)? Click to expand... I have restarted pc ... the jar app see folder and files that windows does not see .... the folders are not hiden ... and i have already test it on my laptop DonManfred said: I guess you need to use a batchfile. Inside the batch you can use whichever java you want to start the jar Click to expand... still searching the forum for the solution
jmon Well-Known Member Licensed User Longtime User Feb 13, 2016 #6 I think you can do that with Launch4J https://www.b4x.com/android/forum/threads/create-windows-native-executables-exe-files.35863/ and tell what max JRE you support and if you need x64 edit : also this https://www.b4x.com/android/forum/threads/ui-apps-packaging-self-contained-installers.56854/ Upvote 0
I think you can do that with Launch4J https://www.b4x.com/android/forum/threads/create-windows-native-executables-exe-files.35863/ and tell what max JRE you support and if you need x64 edit : also this https://www.b4x.com/android/forum/threads/ui-apps-packaging-self-contained-installers.56854/
hookshy Well-Known Member Licensed User Longtime User Feb 14, 2016 #7 jmon said: I think you can do that with Launch4J https://www.b4x.com/android/forum/threads/create-windows-native-executables-exe-files.35863/ and tell what max JRE you support and if you need x64 Click to expand... Files and folders not visible in windows The problems are solved after coverting the .jar project to .exe ... jmon said: edit : also this https://www.b4x.com/android/forum/threads/ui-apps-packaging-self-contained-installers.56854/ Click to expand... I will do this as it is very usefull ..for now I have compatibility issues because the app have libs that are supported only by java 7 and the javapackager is only availlable from java 8 , I have stoped at some point and will try again Upvote 0
jmon said: I think you can do that with Launch4J https://www.b4x.com/android/forum/threads/create-windows-native-executables-exe-files.35863/ and tell what max JRE you support and if you need x64 Click to expand... Files and folders not visible in windows The problems are solved after coverting the .jar project to .exe ... jmon said: edit : also this https://www.b4x.com/android/forum/threads/ui-apps-packaging-self-contained-installers.56854/ Click to expand... I will do this as it is very usefull ..for now I have compatibility issues because the app have libs that are supported only by java 7 and the javapackager is only availlable from java 8 , I have stoped at some point and will try again