Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-28-2012, 11:25 AM   #1
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: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
Current java.SlackBuild Does Not Install as /usr/lib64/java/jre

I'm having trouble in Slackware64 13.37 with 3.3.0 from and Oracle jre-7u7-linux-x64 with the java.SlackBuild from current.

First off, java.SlackBuild does not install JRE in /usr/lib64/java/jre, it installs in /usr/lib64/java. Well, OK, install jdk-7u7-linux-x64 instead, which does install JRE in /usr/lib64/java/jre. I'm digging through the SlackBuild to see if I can figure out what to do but haven't gotten there yet.

Problem is that OpenOffice 3.3.0 says, "The folder you selected does not contain a Java runtime environment. Please select a different folder" when I try to add it in the Options pointing it a /usr/lib64/java/jre. Uh-oh.

I have a Java application that requires a symbolic link for JRE, it's linked to /usr/lib64/java/jre (from the JDK install) and works fine. That application does not work with OpenJava, by the way, which is why Oracle Java.

So, problem with the java.SlackBuild, problem with OpenOffice not recognizing the JRE runtime.

Is there some other package that needs installing or did I miss some environment settings? The only environment setting I do have that would affect Java is this:
cat /etc/profile.d/
#	Set Java text environment
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd_hrgb'
Tiz a puzzlement.


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
[SOLVED] Java Woes: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available ... chytraeus Slackware 10 11-27-2010 11:04 AM
LimeWire (from SlackBuild) won't start, path points to rm-ed java directory in /usr. Dennola4 Slackware 8 07-28-2009 03:14 AM
JAVA JRE installation to view java applet through browser dipenchaudhary Linux - Software 1 01-23-2006 10:20 AM
Java: Overriding a class in /usr/java1.3/jre/lib/ext ??? stefanlasiewski Programming 1 08-11-2005 07:14 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:34 AM.

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