Re: Java 5.0 and com.sun packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, 2009-04-16 at 09:44 -0400, Oliver Ruebenacker wrote:
> com.sun.imageio.plugins.jpeg.JPEGImageWriter,
> com.sun.java.swing.plaf.windows.WindowsDesktopManager).
> 
>   Is there anything on the Fedora repositories that fixes the problem,
> perhaps even a different Java? Do I need Sun's Java to work on this
> project? Or something else from Sun?

OpenJDK is 1.6 which is approximately a superset of 1.5.  Of course,
those internal classes that begin with com.sun may have changed but
they're internal so there's no guarantee :)

If you absolutely *must* use a Sun 1.5 JDK, just grab the one from Sun
and either run eclipse with it (eclipse -vm /path/to/Sun/java/bin) or
add it as a JRE in Eclipse and make your project build against it [1].

Andrew

[1]
http://help.eclipse.org/ganymede/topic/org.eclipse.jdt.doc.user/tasks/task-add_new_jre.htm

you can set your project to build against it by right-clicking on the
project, selecting properties, picking "Java Build Path" and changing
the "JRE System Library" to your alternative one.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux