diff content/Java/compiling-jdk-with-debug.md @ 98:1d9382b0329b

Specify the syntax on markdown blocks to avoid broken output that has class=err
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 19 Dec 2019 10:04:33 +0100
parents 94cc5f43d9d1
children
line wrap: on
line diff
--- a/content/Java/compiling-jdk-with-debug.md	Thu Dec 19 09:31:57 2019 +0100
+++ b/content/Java/compiling-jdk-with-debug.md	Thu Dec 19 10:04:33 2019 +0100
@@ -11,15 +11,18 @@
 
 Just list all the available java source files e.g. using the unix find command:
 
+ 	:::shell
     find . -name *.java -print > java-files.txt
     
 Now I used grep to extract only the relevant classes to recompile, e.g.
 
+	:::shell
     grep './javax/security' java-files.txt > security.txt
     grep './com/sun/security/' java-files.txt >> security.txt
     
 Now we can run the compiler using security.txt as an input file:
 
+	:::shell
     CLASSPATH=${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/lib/tools.jar
     javac -g -J-Xmx512m -cp "$CLASSPATH" @security.txt