LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-01-2014, 10:27 AM   #1
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
"Error: JAVA_HOME is not defined correctly"while building PMS


Hi, I am trying to build PMS (PS3 Media Server) with this slackbuild but I am getting this error message:
Code:
 patching file net/pms/PMS.java
patching file net/pms/configuration/TempFolder.java
patching file net/pms/configuration/PmsConfiguration.java
patching file net/pms/dlna/DLNAMediaDatabase.java
patching file net/pms/configuration/RendererConfiguration.java
patching file net/pms/configuration/LinuxDefaultPaths.java
Error: JAVA_HOME is not defined correctly.
  We cannot execute java
Error:  failed ! 
(exit status of last command -> 1)
(yes, jdk is installed)

Last edited by moisespedro; 01-01-2014 at 02:26 PM. Reason: Got the program working but can't make it show subtitles
 
Old 01-01-2014, 10:30 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,367

Rep: Reputation: Disabled
Please post output of:
Code:
echo $JAVA_HOME
 
Old 01-01-2014, 10:32 AM   #3
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Nothing lol
 
Old 01-01-2014, 10:35 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,871

Rep: Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914
Have you logged out after building and installing jdk from slackbuilds?
 
Old 01-01-2014, 10:37 AM   #5
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Yep
 
Old 01-01-2014, 11:00 AM   #6
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
For me java is in /usr/lib64/java
(and $JAVA_HOME was empty)

You try
Code:
JAVA_HOME=/usr/lib64/java
and see if it makes a difference.
 
Old 01-01-2014, 11:05 AM   #7
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Tried with openjdk and it worked, just need to test it to see if it is really working (on ps3)
 
Old 01-01-2014, 11:23 AM   #8
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Had to install mplayer from alienbob server (thanks man, i love your job ) and it works
 
Old 01-01-2014, 12:51 PM   #9
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Does anybody else use it? I can't get the subtitles to work
 
Old 01-01-2014, 06:02 PM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,871

Rep: Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914
MPlayer is provided in Slackware (xap)
 
Old 01-01-2014, 06:52 PM   #11
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Quote:
Originally Posted by willysr View Post
MPlayer is provided in Slackware (xap)
Oh, derp
Is that the reason why it was so difficult and it didn't work? lol
I didn't install xap to avoid bloating my system, thanks for the heads up. Will go to xap to see what else did I miss lol
 
  


Reply


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
JAVA_HOME defined but maven2 compains it could not find it tkmsr Linux - Software 5 10-22-2010 11:23 AM
defined JAVA_HOME is not picked up some other path taken tkmsr Linux - Software 4 08-01-2010 09:28 AM
[SOLVED] JAVA_HOME not defined tkmsr Linux - Software 1 08-01-2010 04:33 AM
Neither JAVA_HOME nor the JRE_HOME variable defined Raakh Linux - Newbie 9 06-02-2007 06:40 AM
kfloppy error: device not correctly defined Chuckinator Linux - Software 0 12-20-2005 06:03 PM

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

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