XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Jayashree DesaleSubject: Java compiler
Author: Jayashree Desale
Date: 17 Apr 2002 10:14 AM
I am trying to compile a java code for servlet using stylus studio.
I am getting following error; package com.exln.dxe does not exist.

What am I doing wrong? I have jdk1.4 installed.

Jaya

Postnext
Ivan PedruzziSubject: RE: Java compiler
Author: Ivan Pedruzzi
Date: 17 Apr 2002 10:54 AM

Hi,

You should check if the classpath is correct in the javac's command line
in the Output window.
If your system class path already include XIS's jars check under
tools->options->java virtual machine->ClassPath
If the ${classpath} macro is defined.

Ivan Pedruzzi
eXcelon Corporation
http://www.stylusstudio.com



> -----Original Message-----
> From: stylus-studio-tech Listmanager [mailto:listmanager]
> Sent: Wednesday, April 17, 2002 10:26 AM
> To: Recipients of 'stylus-studio-tech' suppressed
> Subject: Java compiler
>
>
> From: "Jayashree Desale"
>
> I am trying to compile a java code for servlet using stylus studio.
> I am getting following error; package com.exln.dxe does not exist.
>
> What am I doing wrong? I have jdk1.4 installed.
>
> Jaya
>
>
>
> To reply: mailto:stylus-studio-tech.4976@edn.exceloncorp.com
> To start a new topic: mailto:stylus-studio-tech@edn.exceloncorp.com
> To login: http://edn.exceloncorp.com/~SSDN
>
>

Postnext
Jayashree DesaleSubject: RE: Java compiler
Author: Jayashree Desale
Date: 17 Apr 2002 11:10 AM
Thanks Ivan,

Yes I do have a $(classpath) macro defined which includes path something like: C:\ARVA\exln\classes

It still doesn't find it.

Jaya

Posttop
Ivan PedruzziSubject: RE: Java compiler
Author: Ivan Pedruzzi
Date: 17 Apr 2002 12:50 PM
Jayashree,

The JVM and the java compiler locate classes in the file system only if
they are there as .class files; if you have your classes stored in a jar
file you need to reference it directly. Take a look here for more
information http://java.sun.com/docs/books/tutorial/jar/index.html


Ivan Pedruzzi
eXcelon Corporation
http://www.stylusstudio.com



> -----Original Message-----
> From: Jayashree Desale [mailto:jdesale@hotmail.com]
> Sent: Wednesday, April 17, 2002 12:46 PM
> To: ivan
> Subject: RE: Java compiler
>
>
>
> yes it worked, I have to include dxeserver.jar also.
> I don't understand why the compiler didn't find it in a
> classes directory.
> Do I have to include .jar files in a classpath?
>
> Jaya
>
> >From: "Ivan Pedruzzi"
> >To: "'Jayashree Desale'"
> >Subject: RE: Java compiler
> >Date: Wed, 17 Apr 2002 12:18:29 -0400
> >
> >
> >
> >Jayashree,
> >
> >As the command line shows
> >
> >c:\J2SDK_Forte\jdk1.4.0\bin\javac.exe -g -classpath
> >".";"C:\ARVA\exln\classes";".";"C:\ARVA\exln\classes"
> >"c:\ARVA\eXcelon2\java\webquery\excelon\src\WebQueryLoader.java"
> >
> >Look like you don't have XIS's jars in the classpath
> >You need to include the jar files direclty
> >
> >SET CLASSPATH=%CLASSPATH%;C:\ARVA\exln\classes\dxeserver.jar
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >Ivan Pedruzzi
> >eXcelon Corporation
> >http://www.stylusstudio.com
> >
> >
> >
> > > -----Original Message-----
> > > From: Jayashree Desale [mailto:jdesale@hotmail.com]
> > > Sent: Wednesday, April 17, 2002 11:42 AM
> > > To: ivan
> > > Subject: RE: Java compiler
> > >
> > >
> > >
> > > I am using evaluation version 3.1 build 069q
> > >
> > >
> > > Output window contains:
> > > Compiling...
> > > WebQueryLoader.java
> > > c:\J2SDK_Forte\jdk1.4.0\bin\javac.exe -g -classpath
> > > ".";"C:\ARVA\exln\classes";".";"C:\ARVA\exln\classes"
> > > "c:\ARVA\eXcelon2\java\webquery\excelon\src\WebQueryLoader.java"
> > >
> > > c:\ARVA\eXcelon2\java\webquery\excelon\src\WebQueryLoader.java
> > > :3: package
> > > com.exln.dxe does not exist
> > > import com.exln.dxe.*;
> > > ^ c:\ARVA\eXcelon2\java\webquery\excelon\src\WebQueryLoader.java
> > > :4: package
> > > com.exln.dxe.filesystem does not exist
> > > import com.exln.dxe.filesystem.*;
> > > ^ c:\ARVA\eXcelon2\java\webquery\excelon\src\WebQueryLoader.java
> > > :5: package
> > > com.exln.dxe.client does not exist
> > > import com.exln.dxe.client.*;
> > > ^
> > > c:\ARVA\eXcelon2\java\webquery\excelon\src\WebQueryLoader.java
> > > :7: package
> > > com.exln.dxe.servlet does not exist
> > > import com.exln.dxe.servlet.*;
> > > ^
> > > c:\ARVA\eXcelon2\java\webquery\excelon\src\WebQueryLoader.java
> > > :50: cannot
> > > resolve symbol
> > > symbol : class Directory
> > > location: class WebQueryLoader
> > >
> > > public static void loadDocument(Directory d, String fileName,
> > > String
> > > sourceFileName) {
> > > c:\ARVA\eXcelon2\java\webquery\excelon\src\WebQueryLoader.java
> > > :15: cannot
> > > resolve symbol
> > >
> > > symbol : class Session
> > > location: class WebQueryLoader
> > > Session s = null;
> > > ^
> > > c:\ARVA\eXcelon2\java\webquery\excelon\src\WebQueryLoader.java
> > > :17: cannot
> > > resolve symbol
> > > symbol : variable XlnClientSessionFactory
> > > location: class WebQueryLoader
> > > s = XlnClientSessionFactory.getSession();
> > > ^
> > > c:\ARVA\eXcelon2\java\webquery\excelon\src\WebQueryLoader.java
> > > :27: cannot
> > > resolve symbol
> > > symbol : class XMLStore
> > > location: class WebQueryLoader
> > > XMLStore theStore = s.getXMLStore("xmlstore1");
> > > ^
> > > c:\ARVA\eXcelon2\java\webquery\excelon\src\WebQueryLoader.java
> > > :39: cannot
> > > resolve symbol
> > > symbol : class Directory
> > > location: class WebQueryLoader
> > > Directory rootDir = null;
> > > ^
> > > c:\ARVA\eXcelon2\java\webquery\excelon\src\WebQueryLoader.java
> > > :51: cannot
> > > resolve symbol
> > > symbol : class FileSystemObject
> > > location: class WebQueryLoader
> > > FileSystemObject fso = d.getFile(fileName);
> > > ^
> > > c:\ARVA\eXcelon2\java\webquery\excelon\src\WebQueryLoader.java
> > > :54: cannot
> > > resolve symbol
> > > symbol : class XMLDocument
> > > location: class WebQueryLoader
> > > XMLDocument doc =
> > > d.createXMLDocument(fileName);
> > > ^
> > > c:\ARVA\eXcelon2\java\webquery\excelon\src\WebQueryLoader.java
> > > :55: cannot
> > > resolve symbol
> > > symbol : class XlnOutputStream
> > > location: class WebQueryLoader
> > > XlnOutputStream outStream =
> > > doc.getOutputStream();
> > > ^
> > > 12 errors
> > >
> > >
> > > >From: "Ivan Pedruzzi"
> > > >To:
> > > >Subject: RE: Java compiler
> > > >Date: Wed, 17 Apr 2002 11:28:49 -0400
> > > >
> > > >
> > > >What Stylus version are you running ?
> > > >
> > > >Could send me :
> > > >- your system class path
> > > >- tools->options->java virtual machine->ClassPath
> > > >- the Output window content after the compilation
> > > >
> > > >
> > > >
> > > >Ivan Pedruzzi
> > > >eXcelon Corporation
> > > >http://www.stylusstudio.com
> > > >
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: stylus-studio-tech Listmanager [mailto:listmanager]
> > > > > Sent: Wednesday, April 17, 2002 11:22 AM
> > > > > To: Recipients of 'stylus-studio-tech' suppressed
> > > > > Subject: RE: Java compiler
> > > > >
> > > > >
> > > > > From: "Jayashree Desale"
> > > > >
> > > > > Thanks Ivan,
> > > > >
> > > > > Yes I do have a $(classpath) macro defined which
> includes path
> > > > > something like: C:\ARVA\exln\classes
> > > > >
> > > > > It still doesn't find it.
> > > > >
> > > > > Jaya
> > > > >
> > > > >
> > > > >
> > > > > To reply: mailto:stylus-studio-tech.4978@edn.exceloncorp.com
> > > > > To start a new topic:
> > > mailto:stylus-studio-tech@edn.exceloncorp.com
> > > > > To login:
> > > http://edn.exceloncorp.com/~SSDN
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > >
> > > _________________________________________________________________
> > > Chat with friends online, try MSN Messenger:
> > > http://messenger.msn.com
> > >
> > >
> >
>
>
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.