LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-20-2017, 12:03 PM   #1
Sk9ITk5Z
LQ Newbie
 
Registered: Jun 2017
Posts: 2

Rep: Reputation: Disabled
Problems with java


Hello, I'm new to the forum, I hope to learn a lot from you.

I have a problem with java, download from the official website "jdk-8u131-linux-i586.tar.gz" and the "jdk.tar.gz" from slackbuild.org, I set the package well and installpkg with installpkg but when I open Some application that uses java tells me that it is not installed. When running the "which java" command it says the following: "which: no java in (/ root / anaconda3 / bin: / usr / local / sbin: / usr / local / bin: / sbin: / usr / sbin: / Bin: / usr / bin) "

I have to install the javs in another way? Or how can I solve that problem?
 
Old 06-20-2017, 12:35 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Generally tar.gz or .tgz extensions tell you the file is a tar bundle that has been compressed.

You can see what is in the tar bundle with "tar tvf <filename>".

You can extract what is in the bundle with "tar xvf <filename>".

Slackware package management appears to be based on above file naming.

Have a look at this site:
https://www.linux.com/learn/intro-sl...age-management

Having said that however, not all .tar.gz/.tgz packages were created just for Slackware. Many are simply meant to be extracted or extracted, configured and built with make. Usually such packages will have README files in them to tell you what to do after extraction.

Note the i586 in the one package name indicates it is designed to run on 32 bit x86 system (as are i386 & i686). The equivalent 64 bit package would usually include x86_64 rather than one of those. Usually you can run 32 bit apps on your 64 bit system (alongside your 64 bit apps) but if your system is 64 bit you should prefer 64 bit packages to 32 bit unless you have a specific need for 32 bit.
 
Old 06-20-2017, 12:53 PM   #3
Sk9ITk5Z
LQ Newbie
 
Registered: Jun 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MensaWater View Post
Generally tar.gz or .tgz extensions tell you the file is a tar bundle that has been compressed.

You can see what is in the tar bundle with "tar tvf <filename>".

You can extract what is in the bundle with "tar xvf <filename>".

Slackware package management appears to be based on above file naming.

Have a look at this site:
https://www.linux.com/learn/intro-sl...age-management

Having said that however, not all .tar.gz/.tgz packages were created just for Slackware. Many are simply meant to be extracted or extracted, configured and built with make. Usually such packages will have README files in them to tell you what to do after extraction.

Note the i586 in the one package name indicates it is designed to run on 32 bit x86 system (as are i386 & i686). The equivalent 64 bit package would usually include x86_64 rather than one of those. Usually you can run 32 bit apps on your 64 bit system (alongside your 64 bit apps) but if your system is 64 bit you should prefer 64 bit packages to 32 bit unless you have a specific need for 32 bit.
Thanks for replying I created the .tgz package and installed it with installpkg, I use Slackware 14.2 and it is 32 bits. "Linux darkstar 4.4.14-smp # 2 SMP Fri Jun 24 14:44:24 CDT 2016 i686 AMD C-50 Processor AuthenticAMD GNU / Linux"
 
  


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
LXer: How to install Oracle Java Series (JAVA 9 to JAVA 6) via PPA in Ubuntu & Mint LXer Syndicated Linux News 0 12-20-2016 04:30 PM
Java problems mahmoud Linux - Software 3 09-30-2008 04:07 AM
java problems canyon289 Linux - Software 2 02-18-2006 02:01 PM
Problems with Java Web Start (java 1.4.2 - 1.5.0) on Slackware Egy Slackware 11 05-10-2005 06:30 AM
JAVA:(jwstric2) Problems in JAVA-LINUX nedian123 Programming 1 06-28-2004 04:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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