I have an app which uses UCanAccess. It runs fine through the IDE in Debug & Release modes but when running the packaged app (via run_debug.bat), it fails with:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
I've narrowed the problem right down to the additional jars required for UCanAccess, specifically the hsqldb-2.6.1.jar which is now included after the update (at my request, sorry!) in Nov last year - https://www.b4x.com/android/forum/threads/opening-ms-access-databases-mdb.107963/post-862370.
The attached project demonstrates the problem. A packaged app fails to run with the error above, but if you comment the line
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
 then the packaged app runs OK.
I note that the first comment from @Erel in the UCanAccess thread says
			
			
			
				B4X:
			
		
		
		Error: Unable to load main class test.test.test.main in module b4j
        java.lang.NoClassDefFoundError: javafx/application/ApplicationI've narrowed the problem right down to the additional jars required for UCanAccess, specifically the hsqldb-2.6.1.jar which is now included after the update (at my request, sorry!) in Nov last year - https://www.b4x.com/android/forum/threads/opening-ms-access-databases-mdb.107963/post-862370.
The attached project demonstrates the problem. A packaged app fails to run with the error above, but if you comment the line
			
				B4X:
			
		
		
		#AdditionalJar: hsqldb-2.6.1I note that the first comment from @Erel in the UCanAccess thread says
Does something in the index_codes_***.txt files need updating to accommodate hsqldb-2.6.1.jar?Instructions were updated based on a new version of the libraries that will work with B4JPackager11.
Note that you need to add several files to the Files folder.
Attachments
			
				Last edited: 
			
		
	
								
								
									
	
								
							
							 
				 
 
		 
 
		 
 
		 
 
		 
 
		