Fix class recompilation on linux
Use path.separator to determine correct char
This commit is contained in:
		
							parent
							
								
									7e6e0424aa
								
							
						
					
					
						commit
						cfa50b476d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -78,7 +78,7 @@ public class JavaCompiler extends Compiler {
 | 
			
		|||
                pb = new ProcessBuilder(
 | 
			
		||||
                        BytecodeViewer.javac,
 | 
			
		||||
                        "-d", fileStart2,
 | 
			
		||||
                        "-classpath", cp.getAbsolutePath() + ";" + BytecodeViewer.library,
 | 
			
		||||
                        "-classpath", cp.getAbsolutePath() + System.getProperty("path.separator") + BytecodeViewer.library,
 | 
			
		||||
                        java.getAbsolutePath()
 | 
			
		||||
                );
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue