LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-17-2014, 07:58 AM   #1
paolo27957
LQ Newbie
 
Registered: Aug 2010
Location: Roma, Italy
Distribution: slackware
Posts: 27

Rep: Reputation: 10
openjdk v7u60 upgrade


After upgrading to openjdk-7u60_b30-i486-1alien.txz (the openjdk Alien package) Netbeans 8.0 editor opens without text in menus and windows, making it unusable. This does not happen if I use the package created with SlackBuild in extra/java and Oracle-Java jdk-7u60-linux-i586.tar.gz file.
Is there anyone who has had the same problem?
 
Old 06-17-2014, 09:19 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114
I tried this on my Slackware64 13.37 machine (the only one I have available now) with openjdk 7u60_b30 installed. I added the netbeans package using the slackbuilds.org script.

I see no issues, the application opens, I can configure the openjdk package as the Java to use. The menus are fully functional and the interface shows texts.

Click image for larger version

Name:	netbeans_java7u60.PNG
Views:	36
Size:	85.5 KB
ID:	15735

Eric
 
1 members found this post helpful.
Old 06-17-2014, 09:34 AM   #3
paolo27957
LQ Newbie
 
Registered: Aug 2010
Location: Roma, Italy
Distribution: slackware
Posts: 27

Original Poster
Rep: Reputation: 10
Maybe I'm wrong, in an excess of zeal, erasing previously hidden directories /home/paolo/.java and /root/.java. Many thanks for your attention.
 
Old 06-18-2014, 08:05 AM   #4
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
I have found that OpenJDK does not work properly in some cases -- I have two Java applications that simply refuse to run or crash using OpenJDK. Why this occurs, I do not know (and really don't have the time to try to figure it out) and I simply download JDK from Oracle and install it with the SlackBuild from the /extra directory on the distribution media.

I don't use NetBeans, but I have had problems with DSpace and with MoneyDance with OpenJDK that do not occur with Oracle JDK. I've been told that OpenJDK and Oracle JDK are pretty much identical but for some reason one works and the other doesn't for me (YMMV, though).

I'd rather not have to deal with problems so I'm sticking with Oracle JDK; it may be a violation of all that's holy to not give a hoot whether JDK is open source or not, but I'll take the chance of burning in hell to have a working proprietary product in this case.
 
Old 06-18-2014, 08:47 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114
Quote:
Originally Posted by tronayne View Post
I have found that OpenJDK does not work properly in some cases -- I have two Java applications that simply refuse to run or crash using OpenJDK. Why this occurs, I do not know (and really don't have the time to try to figure it out) and I simply download JDK from Oracle and install it with the SlackBuild from the /extra directory on the distribution media.

I don't use NetBeans, but I have had problems with DSpace and with MoneyDance with OpenJDK that do not occur with Oracle JDK. I've been told that OpenJDK and Oracle JDK are pretty much identical but for some reason one works and the other doesn't for me (YMMV, though).

I'd rather not have to deal with problems so I'm sticking with Oracle JDK; it may be a violation of all that's holy to not give a hoot whether JDK is open source or not, but I'll take the chance of burning in hell to have a working proprietary product in this case.
When was the last time you tried this with OpenJDK? What are the errors (if any) that you are getting?

Eric
 
Old 06-18-2014, 10:24 AM   #6
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Quote:
Originally Posted by Alien Bob View Post
When was the last time you tried this with OpenJDK? What are the errors (if any) that you are getting?
Hi, Eric,

It's been a while since I tried OpenJDK, something like a year or so (before the huge problems with Java reared up).

MoneyDance wouldn't do anything (except produce a lot of errors and then crash.

DSpace requires JDK, PostgreSQL, Apace Maven, Apache Ant and Apache Tomcat to build and execute (it takes about an hour to go through the steps to get DSpace built). Using OpenJDK (again, a while ago), I couldn't get through Maven and Ant without errors (lots of errors); I did install Maven, Ant and Tomcat with OpenJDK on the box and all the recommended configuration settings. When that didn't work, I removed OpenJDK, installed Oracle JDK, rebuilt all the Apache software (which didn't actually require all that much rebuilding) then built DSpace -- no runs, no drips, no errors and it runs just fine.

I might -- might -- wipe my lap top clean of Oracle and see if I can install DSpace with OpenJDK but that will be awhile before it happens because my server and the servers I support are all working just fine and I don't want to mess with them (the lap top is a portable DSpace mirror platform with all the data bases I use and support).

So, basically, OpenJDK is kind of out and Oracle is kind of in, just don't have the time to analyze and fiddle with it given that it works as is.

Sorry.
 
  


Reply

Tags
java, netbeans, openjdk


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to completely remove OpenJDK? Altiris Linux - Newbie 4 06-20-2013 12:29 AM
[SOLVED] Both java-1.7.0-openjdk and java-1.6.0-openjdk are installed ?? SharpyWarpy Linux - Software 2 01-16-2013 11:28 AM
OpenJDK 7 Install VisionIncision Slackware 19 04-26-2012 12:19 AM
About openjdk-6-jdk satimis Programming 3 05-03-2010 06:07 PM
Installing OpenJDK MTK358 Linux - Software 2 11-18-2009 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration