Fedora Linux Support Community & Resources Center
  #1  
Old 26th April 2012, 11:11 PM
Jewelfox Offline
Registered User
 
Join Date: Feb 2012
Location: United States
Posts: 16
linuxfirefox
Having severe trouble with Java on Fedora 17 beta [Solved]

First, I'm trying to get Sun Java to run and have installed the RPMs for the JDK and/or JRE several times (PackageKit even shows they're installed). However, su -c "/usr/sbin/alternatives --config java" only ever shows the OpenJDK and some gcj thing.

Second, a Java application I used to be able to run in Fedora 16 with OpenJDK (Minecraft) suddenly stopped working once I upgraded to Fedora 17 via preupgrade. The error log says

Code:
[17:37:17] [SEVERE]	java.lang.UnsatisfiedLinkError: /tekkit/bin/natives/liblwjgl.so: libjawt.so: cannot open shared object file: No such file or directory
Those files exist, and I don't know why it doesn't understand that.

I have tried deleting and reinstalling the application several times.

Can anyone give me a hint as to what to do next.

Last edited by Jewelfox; 2nd May 2012 at 12:53 AM.
Reply With Quote
  #2  
Old 26th April 2012, 11:13 PM
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 68
Posts: 22,007
linuxfirefox
Re: Having severe trouble with Java on Fedora 17 beta

moved to F17 Development Forum
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #3  
Old 29th April 2012, 05:27 AM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,902
linuxfirefox
Re: Having severe trouble with Java on Fedora 17 beta

Quote:
Originally Posted by Jewelfox View Post
First, I'm trying to get Sun Java to run and have installed the RPMs for the JDK and/or JRE several times (PackageKit even shows they're installed). However, su -c "/usr/sbin/alternatives --config java" only ever shows the OpenJDK and some gcj thing.
You say you tried running su -c "/usr/sbin/alternatives --config java" but did you remember to run

su -c 'alternatives --install /usr/bin/java java /usr/java/default/bin/java 20000'

first?

See http://www.mjmwired.net/resources/mj...-f16.html#java
(those are notes for Fedora 16 but should work the same for F17)
Reply With Quote
  #4  
Old 30th April 2012, 10:56 AM
Jewelfox Offline
Registered User
 
Join Date: Feb 2012
Location: United States
Posts: 16
linuxfirefox
Re: Having severe trouble with Java on Fedora 17 beta

Quote:
Originally Posted by marko View Post
You say you tried running su -c "/usr/sbin/alternatives --config java" but did you remember to run

su -c 'alternatives --install /usr/bin/java java /usr/java/default/bin/java 20000'

first?

See http://www.mjmwired.net/resources/mj...-f16.html#java
(those are notes for Fedora 16 but should work the same for F17)
Oh hey, I missed that part. >_>;

It works now. Thank you so much!
Reply With Quote
  #5  
Old 30th April 2012, 09:02 PM
Magickman Offline
Registered User
 
Join Date: Oct 2008
Posts: 326
windows_xp_2003firefox
Re: Having severe trouble with Java on Fedora 17 beta

You need to add "Solved" iin your post Title.
Reply With Quote
Reply

Tags
beta, fedora, java, severe, trouble

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
java trouble mjr Servers & Networking 7 7th December 2005 02:17 AM
trouble installing java checkstyle in Fedora 3 raindogs Using Fedora 2 28th October 2005 04:57 PM
Trouble with Java Installation sfjohn Installation, Upgrades and Live Media 5 2nd January 2005 06:26 PM
Severe Rootkit Vulnerability suspected in Fedora 2.91 / openssh-3.9p1-3 DeeplyWorried Security and Privacy 15 10th October 2004 06:10 PM
Sound Problem...more severe? Fedora 2 gernb Hardware & Laptops 11 2nd June 2004 07:07 AM


Current GMT-time: 19:35 (Thursday, 24-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat