Per Erel's comment HERE.
I have done as instructed. I have put the server config file, server jar, and batch file in the
MyApp\B4J\Objects\temp\build\bin
directory with the following batch file (or some variation of this:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
The problem is this always runs MyApp instead of starting SKDBServer.jar.
I have played with variations of this for hours, putting the files in \build for example and then using
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Whatever I do, if the batch file works at all, it opens MyApp.
If I use the installed version of java with the following
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
It works fine. Even if I put the files in the bin directory above.
It only seems to be a problem when I try to use the javaw.exe the was created by Build Standalone Package:
MyApp\B4J\Objects\temp\build\bin\javaw.exe
Thanks in advance for any help.
			
			I have done as instructed. I have put the server config file, server jar, and batch file in the
MyApp\B4J\Objects\temp\build\bin
directory with the following batch file (or some variation of this:
			
				B4X:
			
		
		
		START /MIN javaw.exe -jar SKDBServer.jarI have played with variations of this for hours, putting the files in \build for example and then using
			
				B4X:
			
		
		
		START /MIN \bin\javaw.exe -jar SKDBServer.jarWhatever I do, if the batch file works at all, it opens MyApp.
If I use the installed version of java with the following
			
				B4X:
			
		
		
		START /MIN C:\Java\jdk-11.0.1\bin\javaw.exe -jar SKDBServer.jarIt only seems to be a problem when I try to use the javaw.exe the was created by Build Standalone Package:
MyApp\B4J\Objects\temp\build\bin\javaw.exe
Thanks in advance for any help.
 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		