Home > Java > javaTutorial > Detailed explanation of how java obtains JPEGImageEncoder and JPEGCode class instances

Detailed explanation of how java obtains JPEGImageEncoder and JPEGCode class instances

怪我咯
Release: 2017-06-25 10:20:15
Original
2229 people have browsed it

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:

Detailed explanation of how java obtains JPEGImageEncoder and JPEGCode class instances

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template