LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-10-2009, 08:20 AM   #1
bhorvatin
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Rep: Reputation: Disabled
javac error when installing Tomcat as a daemon


Hello,

I am trying to get tomcat 6 installed as a daemon following the instructions from the installation document (http://tomcat.apache.org/tomcat-6.0-doc/setup.html)

cd $CATALINA_HOME/bin
tar xvfz jsvc.tar.gz
cd jsvc-src
autoconf
./configure
make
cp jsvc ..
cd ..


and am getting to ./configure and am getting the following error:

*** Java compilation tools ***
checking JAVA_HOME... /usr/java/jdk1.6.0_14/
checking for javac... NONE
checking for javac... NONE
configure: error: javac not found



I have verified that the JAVA_HOME is set correctly and is in the PATH. I have even run ./configure --with-java=/usr/java/jdk1.6.0_14/ with the same result.

Any suggestions?
 
Old 07-10-2009, 08:56 AM   #2
bhorvatin
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Original Poster
Rep: Reputation: Disabled
I have also verified there is no javac in /usr/java/jdk1.6.0_15/bin. What am I missing?
 
Old 10-13-2009, 11:52 AM   #3
ECRocker
Member
 
Registered: May 2007
Distribution: RHEL 5, Ubuntu 9.10, Fedora 12
Posts: 85

Rep: Reputation: 17
I used:
Code:
yum install java-1.6.0-openjdk-devel
Basically we forgot to install the development/compile portion of the JDK.
 
  


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
Javac error harsha101087 Programming 9 09-14-2008 03:52 AM
Installing continuum over tomcat. How to diagnose Internal server error. emperor_black Linux - Server 1 04-29-2008 02:00 AM
Installing SUSE 10.1 on a Tyan Tomcat board - GRUB READ ERROR ISSUES cyclocrossguy Linux - Hardware 3 08-14-2006 01:13 PM
javac error rb3ng Programming 8 03-27-2004 07:00 AM
Tomcat Daemon peteABK Linux - Software 1 10-19-2003 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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