Home >Java >javaTutorial >Detailed explanation of how java obtains JPEGImageEncoder and JPEGCode class instances
I recently had to do some operations on PDFs. When I checked other people's codes and borrowed them, I found that because the code was incomplete and the referenced classes were incomplete, the two classes JPEGImageEncoder and JPEGCode could not be found. Later, I searched online. , I found that these two classes come from the package under rt.jar of JDK: com.sun.Detailed explanation of how java obtains JPEGImageEncoder and JPEGCode class instances.codec.jpeg,
and I quoted JDK 1.6.0.45, rt cannot be associated with the above The two classes, then, I switched to 1.7.0.06, as shown below:
After switching, the shortcut key ctrl+O can be automatically referenced.
The above is the detailed content of Detailed explanation of how java obtains JPEGImageEncoder and JPEGCode class instances. For more information, please follow other related articles on the PHP Chinese website!