LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-18-2014, 09:23 PM   #1
corstar
Member
 
Registered: Feb 2005
Location: Perth, Western Australia
Distribution: Manjaro Linux
Posts: 30

Rep: Reputation: 2
java installed as user but not root


Hi, I have a problem with my Java installation.
I'm using Slackware 14.1 64 bit with AlienBob's multilib setup.

I followed the instructions here
and checked the version under normal user to get this output:
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.2) (Slackware)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

Checked under root and got this:
/bin/ksh: java: not found [No such file or directory]

It seems strange that it is found with which command under normal user(/usr/lib64/java/bin/java) and not root.

Anyone have idea's?
 
Old 10-18-2014, 09:46 PM   #2
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
Check the PATH variable. Are both users running ksh? Maybe the user is running bash and the root is using ksh and they have the PATH variable set on different ways.
 
  


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
Is it possible to run program installed in root user by regular users? cent_sangeeta General 4 11-06-2012 10:35 AM
My root user does't getting logging to RHEL ES 4.0 installed pc siri.siri143 Linux - Newbie 2 11-05-2007 11:22 AM
how to make netbeanIDE available for another user which is installed in root wisdomvk Linux - Software 1 10-05-2007 05:22 PM
switch to user installed window manager without root jaddison Linux - Software 13 04-13-2006 07:23 PM
How can a user access JBuilder9 installed as a root? CruelEssence Linux - Newbie 3 11-23-2003 12:22 PM

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

All times are GMT -5. The time now is 09:39 PM.

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