LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-04-2012, 11:09 AM   #1
lchxr
Member
 
Registered: Mar 2006
Posts: 42

Rep: Reputation: 15
nixnote need Java but Java is not installed (Slackware 14.0)


I have download nixnote-1.3-2.i386.rpm and use rpm2txz conversion to install. When I run it from command line, I got an error as follow.
Code:
$ nixnote 
/usr/share/nixnote/nixnote.sh: line 118: java: command not found
The line 118 in nixnote.sh said
Code:
java -Xmx$NN_XMX -Xms$NN_XMS -XX:NewRatio=$NN_NEW_RATIO $NN_GC_OPT $NN_DEBUG -classpath $NN_CLASSPATH cx.fbn.nevernote.NeverNote --name=$NN_NAME --home=$NN_HOME --sync-only=$NN_SYNCONLY
Is Java installed in Slackware 14.0? I have full installation of Slackware 14.0.

I have no knowledge about Java and don't know how I can check if Java is installed.

Any suggestions are welcome.
 
Old 10-04-2012, 11:41 AM   #2
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Java is actually quite easy to install under Slackware 14.0.

Check out the java/ directory in extra/. Download it locally on your machine, with all its content.

Then download the Java tarball from the Oracle site. Choose between JRE and JDK according to your needs. Be sure to download the right package for your architecture (32-bit or 64-bit). Put the downloaded jre-*.tar.gz or jdk-*.tar.gz file in your java/ directory.

Make sure java.SlackBuild is executable and run it as root:

Code:
# ./java.SlackBuild
The resulting jre-*.txz or jdk-*.txz package can be found in /tmp.

JRE and JDK can't be distributed as is anymore due to some licensing issues.

Cheers,

Niki
 
Old 10-04-2012, 11:46 AM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
@OP
For the future, you can find answers to most of your Slackware-related questions (including java) in the Slackware wiki
 
Old 10-04-2012, 03:28 PM   #4
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Ooops. Looks like I missed that one.
 
  


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
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
Synaptic Package Manager shows 'java-common' and 'java-gcj-compat' as Installed. swiadek Ubuntu 3 02-12-2006 11:54 AM
Problems with Java Web Start (java 1.4.2 - 1.5.0) on Slackware Egy Slackware 11 05-10-2005 06:30 AM
I seem to have installed java twice crox Linux - Newbie 4 06-14-2003 04:52 PM

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

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