mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-28 10:19:23 +00:00 
			
		
		
		
	small change to be able to test java example on linux
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
		
							parent
							
								
									30905da58c
								
							
						
					
					
						commit
						001c8487e9
					
				
					 2 changed files with 8 additions and 3 deletions
				
			
		|  | @ -2157,7 +2157,7 @@ class JavaExample | |||
|             p.SimpleExample(); | ||||
| 
 | ||||
|             { | ||||
|                 HashMap<String, String> cfg = new HashMap<>(); | ||||
|                 HashMap<String, String> cfg = new HashMap<String, String>(); | ||||
|                 cfg.put("MODEL", "true"); | ||||
|                 cfg.put("PROOF_MODE", "2"); | ||||
|                 Context ctx = new Context(cfg); | ||||
|  |  | |||
|  | @ -6,5 +6,10 @@ To build the example execute | |||
| in the build directory. | ||||
| 
 | ||||
| It will create JavaExample.class in the build directory, | ||||
| which can be run via | ||||
| which can be run on Windows via  | ||||
|    java -cp com.microsoft.z3.jar;. JavaExample | ||||
| 
 | ||||
| On Linux and FreeBSD, we must use | ||||
|    LD_LIBRARY_PATH=. java -cp com.microsoft.z3.jar:. JavaExample | ||||
|   | ||||
|     | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue