CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 Java

Print topic Send  topic

Author Message
bigd39

Posts: 16
Posted: 01/18/2004, 2:01 PM

I have a question about codecharge an java
How do i get codecharge to see java and ant if it is on a server.
I put it in the path option but it wants to find java exe. Or how do i do it.
View profile  Send private message
ignat


Posts: 55
Posted: 01/19/2004, 2:32 AM

Hi!

You need to install Java 2 SDK and Ant on your development machine as well. It will be used by CCS to build your Java project.

Regards,
Ignat.
View profile  Send private message
aked
Posted: 04/08/2004, 12:01 PM

Java is installed on XP

Where is the java ant and sdk home?

Error:
BUILD FAILED
The Ant path is not specified. Specify the Ant Home (Tools/Options/Paths/Java) or the ANT_HOME environment variable.

srinivas

Posts: 54
Posted: 04/09/2004, 6:55 PM

You need to install Apache Ant on your machine, usually C:\apache-ant-1.6.1\ or something like that.

Then, you can select:

Tools->Options->Paths

And set the JDK Home and ANT Home (C:\apache-ant-1.6.1). Once you are done with this you should be good to go.

Usually the next error you might run into is the SERVLET API not coming. If you have installed Servlet2.2 API some where, you can simply copy the "servlet.jar" into JDK_HOME\lib folder.

Then, you may run into similar errors on "database driver". That is also simply overcome by copying the right JAR/ZIP file to your JDK_HOME\lib folder.

If you get the same or similar errors on RUNTIME, you can over come them by copying the LIBRARIES to TOMCAT_HOME\common\lib folder (assuming you are doing the development on TOMCAT).

Hope that helps.

-Srinivas
View profile  Send private message
brian
Posted: 04/20/2004, 6:49 AM

i followed all srinivas said above. but i still getting an error.
i think i need to change the batch files of ant.
what batch files do i need to chage and where?

i run java on tomcat4

brian
David
Posted: 04/22/2004, 7:16 AM

why cant u create environment variables?

if u use windows XP,go to.

Control panel > performance and maintanance > system> advanced tab> environment variables

click new

create env_ variable for path

type name as
PATH
value as
the directory which JDK resides/bin

then
put a comma and type the location of ur ANT HOME/bin

then create a CLASSPATH env_variable

type value as

ur TOMCAT ROOT/COMMON/LIB/servlet.jar

also go for CCS settings as sreenivas told ..then try ..u'll get

brian
Posted: 04/26/2004, 6:14 AM

thanks david.
for your generous answer. it helped and works fine.

another question regarding java servlet is that
1. CCS produced all files and when i review the working files i had to type ' file_name.do' <== what is this file for? it was not visible but that file needed to see how it works. how can it be possible without creating any class files?

2. CCS creates java files and doesnt compile them. therefore, should i compile these files and put class files into
'tomcat4/webapps/WEB-INF/classes' folder to view ?

i m using servlet with tomcat 4/Access


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.