How to overwrite classes from jdk?

后端 未结 4 1479
感情败类
感情败类 2021-01-21 00:10

I\'m trying to change some classes from open jdk, so I\'m creating the same package structure as the open jdk classes have and I\'m changing the classes using netbeans. When i\'

4条回答
  •  醉酒成梦
    2021-01-21 01:05

    This is what the extension classes is intended for.

    See http://download.oracle.com/javase/1.5.0/docs/tooldocs/findingclasses.html#javalauncher for details. Basicall you either drop jars in the ext folder, or indicate with system properties what you want in front of the classpath overriding standard Java classes.

提交回复
热议问题