Search code examples
javajava-6

rebuild JDK1.6.8 after some changes


I want to rebuild JDK1.6 after some changes in currency.java in the java.util package. so how can I do it? is there any compiler or builder to make a custom version of JDK? I try $ javac src/java/util/currency.java but it did not work.


Solution

  • You should not build the whole JDK. Only thing you need is compile your class, put it into a .jar and place it in endorsed folder of a JRE.