please give me solution for this
root cause
Unable to find a javac compiler;
com.sun.tools.j avac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
org.apache.tool s.ant.taskdefs. compilers.Compi lerAdapterFacto ry.getCompiler( CompilerAdapter Factory.java:10 6)
org.apache.tool s.ant.taskdefs. Javac.compile(J avac.java:935)
org.apache.tool s.ant.taskdefs. Javac.execute(J avac.java:764)
org.apache.jasp er.compiler.Com piler.generateC lass(Compiler.j ava:382)
org.apache.jasp er.compiler.Com piler.compile(C ompiler.java:47 2)
org.apache.jasp er.compiler.Com piler.compile(C ompiler.java:45 1)
org.apache.jasp er.compiler.Com piler.compile(C ompiler.java:43 9)
org.apache.jasp er.JspCompilati onContext.compi le(JspCompilati onContext.java: 511)
org.apache.jasp er.servlet.JspS ervletWrapper.s ervice(JspServl etWrapper.java: 295)
org.apache.jasp er.servlet.JspS ervlet.serviceJ spFile(JspServl et.java:292)
org.apache.jasp er.servlet.JspS ervlet.service( JspServlet.java :236)
javax.servlet.h ttp.HttpServlet .service(HttpSe rvlet.java:802)
thanks
2 3412
please give me solution for this
root cause
Unable to find a javac compiler;
com.sun.tools.j avac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
org.apache.tool s.ant.taskdefs. compilers.Compi lerAdapterFacto ry.getCompiler( CompilerAdapter Factory.java:10 6)
org.apache.tool s.ant.taskdefs. Javac.compile(J avac.java:935)
org.apache.tool s.ant.taskdefs. Javac.execute(J avac.java:764)
org.apache.jasp er.compiler.Com piler.generateC lass(Compiler.j ava:382)
org.apache.jasp er.compiler.Com piler.compile(C ompiler.java:47 2)
org.apache.jasp er.compiler.Com piler.compile(C ompiler.java:45 1)
org.apache.jasp er.compiler.Com piler.compile(C ompiler.java:43 9)
org.apache.jasp er.JspCompilati onContext.compi le(JspCompilati onContext.java: 511)
org.apache.jasp er.servlet.JspS ervletWrapper.s ervice(JspServl etWrapper.java: 295)
org.apache.jasp er.servlet.JspS ervlet.serviceJ spFile(JspServl et.java:292)
org.apache.jasp er.servlet.JspS ervlet.service( JspServlet.java :236)
javax.servlet.h ttp.HttpServlet .service(HttpSe rvlet.java:802)
thanks
Perhaps JAVA_HOME does not point to the JDK
Note: I've just copied part of the stackTrace you got.
Perhaps JAVA_HOME does not point to the JDK
The JDK is the directory that contains your Java Development Kit. Specifically, it contains the Java compiler (javac). The top level of your JDK should look similar to this (from Windows): - C:\> echo %JAVA_HOME%
-
C:\j2sdk1.5.0_04
-
-
C:\> dir %JAVA_HOME%
-
Volume in drive C has no label.
-
Volume Serial Number is 9023-0CA4
-
-
Directory of C:\j2sdk1.5.0_04
-
-
11/13/2006 11:36 PM <DIR> .
-
11/13/2006 11:36 PM <DIR> ..
-
07/15/2005 08:05 PM <DIR> bin
-
06/03/2005 03:32 AM 2,539 COPYRIGHT
-
07/15/2005 08:02 PM <DIR> demo
-
11/13/2006 11:41 PM <DIR> docs
-
07/15/2005 08:02 PM <DIR> include
-
07/15/2005 08:05 PM <DIR> jre
-
07/15/2005 08:05 PM <DIR> lib
-
06/03/2005 02:35 AM 15,848 LICENSE
-
07/15/2005 08:01 PM 21,223 LICENSE.rtf
-
06/03/2005 02:35 AM 20,955 README.html
-
07/15/2005 08:02 PM <DIR> sample
-
06/03/2005 02:35 AM 18,053,285 src.zip
-
06/03/2005 02:35 AM 69,740 THIRDPARTYLICENSEREADME.txt
-
6 File(s) 18,183,590 bytes
-
9 Dir(s) 24,481,398,784 bytes free
-
-
C:\> dir %JAVA_HOME%\bin\javac.exe
-
Volume in drive C has no label.
-
Volume Serial Number is 9023-0CA4
-
-
Directory of C:\j2sdk1.5.0_04\bin
-
-
06/03/2005 02:29 AM 49,269 javac.exe
-
1 File(s) 49,269 bytes
-
0 Dir(s) 24,481,398,784 bytes free
-
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: josh dismukes |
last post by:
/// here is the code i'm getting a parse error on the last line of the
code which
/// is </html> any help will be much appreciated.
<?php
session_start ();
|
by: Falk Fassmann |
last post by:
Hello people,
I have some problem with Debugging in MS Visual C++.
I want to generate a TCP/IP-Socket. The compiling-process is fine but
when I debugg the project there's occuring some errors like: 'error
LNK2001: Nichtaufgelöstes externes Symbol "unsigned int __stdcall
socket(int,int,int)" (?socket@@$$FYGIHHH@Z)"'
"Nichtaufgelöstes externes Symbol" means "unresolved external symbol"
|
by: Remo |
last post by:
Hi
I want to install the VS .Net 2003 Prof on my XP prof
First i tryed the installation, but error occured during required comps.
Reading docu, they say install required comps by hand, doing so, install
IE6SP1 ,...., and at DotnetFx.EXE it works great, copy files, register all,
and at the end, an error occured (all will be rolled back):
Microsoft .NET Framework 1.1 Setup
Error 1935. An Error occured during the installation of assembly...
|
by: Ian Rowland |
last post by:
Has anyone had the following error when compiling a solution in Visual Studio
2003 and if so is there a fix?
‘Could not copy temporary files to the output directory. No Extenders could
be found for the name 'Intel C++ Integration Tool' under the CATID
{89FB23F7-E591-4a2f-8E0F-64C0522FCF77}. Make sure that the Extender Provider
for this Extender is correctly registered.’ The first time it happened a
reboot corrected it. The second...
|
by: Weasel |
last post by:
This occured right after i tryed to compile the file
hello.cpp:9:2: warning: no newline at end of file
| |
by: sean |
last post by:
Hi there,
I am trying to call a C# web service from an aspx page, I have the asmx
file, a user control file ascx and the aspx file. I have verified that the
web service is returning correct values from the service, however when I try
to load the aspx page it falls over in a cruumbling heap! Could someone tell
me what I am doing wrong as I know that I am close to getting this thing
working.
Thanks in advance for your answer
|
by: Slasher186 |
last post by:
Hi all,
First of all, I'm sorry if I posted at the wrong section here, but I can't seem to find the VB 6.0 newsgroup ?
I'm developing my apps with VB 6.0 sp5 installed on win xp. I have create an exe file that runs fine on both winxp and win2k. However, when I try to execute that file on win 98 machine, there are errors. This error may vary between "EOF or BOF expected.." or "Error 13, Type mismatch". I've tried over and over again to do...
|
by: Al Williams |
last post by:
Hi,
I have error handling in place throughout my application. I also start the
application wrapped in error handling code to catch any unexpected
exceptions (i.e. exceptions that occur where I haven't placed error handling
code).
When I run my app from the IDE, the unhandled errors are caught by the error
handling code in my Sub Main routine and the error details are logged to a
text file and optionally e-mailed to me for follow-up.
|
by: abdur_rab7 |
last post by:
Hi,
I am compiling code for nanosleep in CYGWIN.
During compilation i get the following error
Socket.cc: In method `bool Socket::hangOnConnection(int = 0)':
Socket.cc:338: aggregate `struct timespec tmsp' has incomplete type and
cannot b
e initialized
|
by: Qasimtn |
last post by:
Error occured while compiling the function which is a operator(<) function
if remove the key word const in the argument no error occurs.
Help me i have no idea what i have done wrong with this code.......
i have mentioned the compiler error after the function implementation
#include<iostream>
using namespace std;
//
//Box Class
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |