LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-28-2012, 10:25 AM   #1
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
Current java.SlackBuild Does Not Install as /usr/lib64/java/jre


I'm having trouble in Slackware64 13.37 with OpenOffice.org 3.3.0 from SlackBuilds.org 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:
Code:
cat /etc/profile.d/java.sh
#!/bin/sh
#	Set Java text environment
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd_hrgb'
Tiz a puzzlement.
 
  


Reply



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 10:04 AM
LimeWire (from SlackBuild) won't start, path points to rm-ed java directory in /usr. Dennola4 Slackware 8 07-28-2009 02:14 AM
JAVA JRE installation to view java applet through browser dipenchaudhary Linux - Software 1 01-23-2006 09:20 AM
Java: Overriding a class in /usr/java1.3/jre/lib/ext ??? stefanlasiewski Programming 1 08-11-2005 06:14 PM

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

All times are GMT -5. The time now is 01:47 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