Re: JDK 1.3, Tomcat 3.2.1, and CLASSPATH settings....

2001-04-08 Thread Walter G. da Cruz
that calls JAVA_HOME/lib/tools.jar, so you don't have to set it up. 4. You can find more the libraries in jakarta-tomcat-3.2.1/lib/ directory. Make sure that xerces.jar is the first library called in your classpath. 5. If you have more questions, please: http://jakarta.apach

Re: JDK 1.3, Tomcat 3.2.1, and CLASSPATH settings....

2001-04-06 Thread Nathan Meyers
i, Apr 06, 2001 at 01:18:59PM -0700, Jerry Asher wrote: > Two days ago, I installed JDK 1.3.0_02. Yesterday I installed Tomcat 3.2.1. > > I tried JSPs and they failed. I found a Tomcat FAQ that suggested I needed > to add tools.jar to my CLASSPATH. > > So, I added > > J

JDK 1.3, Tomcat 3.2.1, and CLASSPATH settings....

2001-04-06 Thread Jerry Asher
Two days ago, I installed JDK 1.3.0_02. Yesterday I installed Tomcat 3.2.1. I tried JSPs and they failed. I found a Tomcat FAQ that suggested I needed to add tools.jar to my CLASSPATH. So, I added JAVA_HOME/lib/tools.jar But that didn't work. Investigation on my machine shows

Re: Trouble with CLASSPATH (JDK 1.2.2 on Linux)

2001-03-04 Thread Nathan Meyers
Sanjay Bhatia wrote: > Hi, > I've read every doc I could find and cannot solve a particular problem I am > having with running an example on my linux machine. Details are : > > My CLASSPATH environment variable is set as follows : > > /usr/local/xerces/xe

Re: Trouble with CLASSPATH (JDK 1.2.2 on Linux)

2001-03-04 Thread Dimitris Vyzovitis
On Sun, 4 Mar 2001, Sanjay Bhatia wrote: > Hi, > I've read every doc I could find and cannot solve a particular problem I am > having with running an example on my linux machine. Details are : > > My CLASSPATH environment variable is set as follows : > > /u

Trouble with CLASSPATH (JDK 1.2.2 on Linux)

2001-03-04 Thread Sanjay Bhatia
Hi, I've read every doc I could find and cannot solve a particular problem I am having with running an example on my linux machine. Details are : My CLASSPATH environment variable is set as follows : /usr/local/xerces/xerces.jar:/usr/local/xerces/xercesSamples.java: Both the

classpath

2001-02-08 Thread soonho
Hi all,   I create a JVM inside my C code. but when running, it said that Can't find Prog Class as what i witten in my c code.   cls = (*env)->FindClass(env, "Prog");    if (cls == 0) {    fprintf(stderr, "Can't find Prog class\n");    exit(1);  

System.setProperty("java.class.path", classpath)

2000-06-21 Thread brEezE
Hi, As the subject stated, I would like to know what is the effect of doing that during runtime. As far as I understand, we can't use this method to include the jar files into the classpath to avoid specifying them in command line. Is there any alternative besides writing a custom class l

Re: Classpath setting problem

2000-06-21 Thread Adam Ambrose
0700, Adam Ambrose wrote: > >The more proper place may be to put any extention packages in > >$JAVA_HOME/lib/ext, as I just discovered the other day from here: > > > >http://java.sun.com/products/jdk/1.2/docs/guide/extensions/spec.html > > > > > >Rajesh Nair

Re: Classpath setting problem

2000-06-21 Thread Rajesh Nair
/guide/extensions/spec.html > > >Rajesh Nair wrote: >> >> You may want to check if your CLASSPATH is exported or if you have specified >> both the compressed and >> uncompressed jars in the classpath. I put the jars under the $JAVA_HOME/lib >> directory and th

Re: Classpath setting problem

2000-06-21 Thread Adam Ambrose
The more proper place may be to put any extention packages in $JAVA_HOME/lib/ext, as I just discovered the other day from here: http://java.sun.com/products/jdk/1.2/docs/guide/extensions/spec.html Rajesh Nair wrote: > > You may want to check if your CLASSPATH is exported or if yo

Re: Classpath setting problem

2000-06-21 Thread Rajesh Nair
You may want to check if your CLASSPATH is exported or if you have specified both the compressed and uncompressed jars in the classpath. I put the jars under the $JAVA_HOME/lib directory and that seemed to work At 08:58 AM 06/20/2000 +0530, Hrishiraj Nair wrote: > > Hi , > >

Classpath setting problem

2000-06-19 Thread Hrishiraj Nair
Hi ,   I use Mysql along with JDBC1.2 on Linux. It is required that I download the Mysql driver for linux to do the same. I could download the driver (mm.mysql.jdbc-1.2b) from www.mysql.com   As stated in the documentation it is required to set the classpath, after installing the driver. I

Re: Classpath

2000-03-24 Thread Dimitrios Vyzovitis
Man Chi Ly wrote: chances are a Linux newbie is using bash (default on GNU/Linux) :) The short answer is CLASSPATH is pretty much deprecated in JDK 1.2 (the JDK README briefly discusses this). And I'm pretty sure a more lengthy discussion can be found on java.sun.com. This question is a FAQ

Re: Classpath

2000-03-24 Thread Man Chi Ly
On Fri, 24 Mar 2000, Jacob Nikom wrote: > With latest JDK1.2.2 I don't think you need CLASSPATH on Linux. > If you want you can set it to JAVA_HOME/bin > setenv CLASSPATH .:JAVA_HOME/bin > > Don't forget to set > setenv LD_LIBRARY_PATH .:/local/lib:/usr/lib

Re: Classpath

2000-03-24 Thread Jacob Nikom
With latest JDK1.2.2 I don't think you need CLASSPATH on Linux. If you want you can set it to JAVA_HOME/bin setenv CLASSPATH .:JAVA_HOME/bin Don't forget to set setenv LD_LIBRARY_PATH .:/local/lib:/usr/lib:/usr/lib/X11:/usr/local/lib Don't forget to set your PATH! Jacob Ni

Re: Classpath

2000-03-24 Thread Syam_Kumar_Abburi
You set class path like any other environment variable. Just like path. You need to export the classpath after setting. Otherwise you can place it in a .profile file (.profile will initialize environment variables when you login in Unix. I do not know whether similar concept is there in Linux

Classpath

2000-03-24 Thread Ben Pharr
Where and how should I set my classpath in Linux? I have it working fine Windows, but I can't import any classes or packages in Linux. Please help!! Ben -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subje

CLASSPATH to Install Oracle JDBC driver for jdk1.2?

1999-12-29 Thread Palsedge, John
Oracle for Linux wants a CLASSPATH defined to install the JDBC driver. For the older java versions, it was the path to the classesxxx..zip file but this has changed with jdk1.2. What should it be now? ./jdk1.2/lib would be my first choice: correct? I would appreciate advice from someone

Re: Simple question: Setup CLASSPATH

1999-11-03 Thread Nathan Meyers
> John Louis wrote: > > Hi, > I download javamail API, and copy mail.jar to jdk1.2/lib directory. > I add the CLASSPATH in my > .bash_profile : > CLASSPATH=/jdk1.2/lib/mail.jar > > After that, I compile the demo file, and it give me error : Package > javax.

Re: Simple question: Setup CLASSPATH

1999-11-03 Thread Oliver Koell
> Hi, > I download javamail API, and copy mail.jar to jdk1.2/lib directory. > I add the CLASSPATH in my .bash_profile : > CLASSPATH=/jdk1.2/lib/mail.jar > > After that, I compile the demo file, and it give me error : Package > javax.mail not found in import. I'

Simple question: Setup CLASSPATH

1999-11-03 Thread John Louis
Hi,   I download javamail API, and copy mail.jar to jdk1.2/lib directory.  I add the CLASSPATH in my .bash_profile :     CLASSPATH=/jdk1.2/lib/mail.jar   After that, I compile the demo file, and it give me error : Package javax.mail not found in import I'm not sure how to se

Re: classpath

1999-10-31 Thread Jørgen H. Seland
I have tried > setting a CLASSPATH variable, using the -classpath argument to java and > putting these in the same directory as classes.zip (and everywhere else > in my jdk installation), java refuses to find these new additions. I've > also tried setting JAVA_HOME. The FAQ seems to

Re: classpath

1999-10-29 Thread Chris Abbey
At 08:45 10/29/99 -0600, Adam Carheden wrote: >java.lang.NoClassDefFoundError: com/sun/java/swing/plaf/metal/MetalTheme > at uci.uml.Main.main(Main.java:74) note that NoClassDefFoundError is not the same as ClassNotFound error. NoClassDefFound means that something this class needs was not f

Re: classpath

1999-10-29 Thread Patrick Ohnewein
Don't know if this is the problem, I can only guess, but I know that starting from some java version the classpath got splitted into classpath and -Xbootclasspath: I thought only after jdk1.2, but could be earlier. Now the problem would be, there are 2 class loaders the boot classloader

Re: classpath

1999-10-29 Thread Michael Sinz
r respective .jar files. > >The Argo page specifically says to use Swing v1.0.3, which I am. I have >also set classpath to >.:/usr/local/jdk117_v3/swing-1.0.3/swing.jar:/usr/local/java_apps/argouml.jar. You need swingall.jar or you need swing.jar plus the look-and-feel jar file. Eas

Re: classpath

1999-10-29 Thread Adam Carheden
1.0.3, which I am. I have also set classpath to .:/usr/local/jdk117_v3/swing-1.0.3/swing.jar:/usr/local/java_apps/argouml.jar. The error I'm getting when I run Argo is: java.lang.NoClassDefFoundError: com/sun/java/swing/plaf/metal/MetalTheme at uci.uml.Main.main(Main.java:74) so I

Re: classpath

1999-10-29 Thread Michael Sinz
s tell me to simply put these in my class path. I have tried >setting a CLASSPATH variable, using the -classpath argument to java and >putting these in the same directory as classes.zip (and everywhere else >in my jdk installation), java refuses to find these new additions. I've >

classpath

1999-10-28 Thread Adam Carheden
CLASSPATH variable, using the -classpath argument to java and putting these in the same directory as classes.zip (and everywhere else in my jdk installation), java refuses to find these new additions. I've also tried setting JAVA_HOME. The FAQ seems to say very little about where it searche

Re: newbie java -classpath still not working as expected

1999-10-26 Thread Andreas Rueckert
Hi! This is my classpath for 1.1.7 (it's actually 1 line without the '\'s): export CLASSPATH=/usr/local/swing/swingall.jar:\ /usr/share/postgresql/postgresql.jar:\ /home/andreas/kde_plaf/kde.jar:\ ..:\ /usr/local/jdk1.1.7/lib:\ /usr/local/jdk1.1.7/lib/classes.zip You can see tha

Re: newbie java -classpath still not working as expected

1999-10-25 Thread Aras
I moved over to Sun's Java2 on Windows.  I verified that the -classpath switch is relative to where I run java from.  I was wondering if it might be relative to where java lives(it wasn't).  In windows I can run it like:  java -classpath /thisdir testprog or I can be somewhere els

newbie java -classpath not working as expected

1999-10-24 Thread Aras
:     java -classpath /myclasses testprog   I get the usual "Can't find /java/Thread" or something like that.   I think my PATH var is OK.   I wonder if I need to install into /usr/local,  currently I have it unser a home dir.

Re: Classpath

1999-10-10 Thread Eric vanberkel
Roger, use java -classpath .:$CLASSPATH this way your current dir and your claspath is always scanned! Have fun --- Roger Smith <[EMAIL PROTECTED]> wrote: > hey there I installed the jdk1.1.6 onto my Redhat system > then I also > installed the mysql JDBC and I had to se

Re: Classpath

1999-10-06 Thread Shawn McKisson
Roger Smith wrote: > > hey there I installed the jdk1.1.6 onto my Redhat system then I also > installed the mysql JDBC and I had to set the classpath so my program > would find the jdbc files, however, when I type java it says > "can't find class " and my other

Classpath

1999-10-06 Thread Roger Smith
hey there I installed the jdk1.1.6 onto my Redhat system then I also installed the mysql JDBC and I had to set the classpath so my program would find the jdbc files, however, when I type java it says "can't find class " and my other programs run fine without the classpath set fo

Re: [Q] CLASSPATH, JAR searching, etc

1999-09-21 Thread Jeff Galyan
all the .class files? > Well, if you're using JDK 1.2, you don't need to set a CLASSPATH environment variable. The VM will find the classes automatically in the default locations in that release. If you want to use add-on packages (like JMF for example), you can take advantage o

Re: [Q] CLASSPATH, JAR searching, etc

1999-09-21 Thread Daniel Barclay
> From: dave madden <[EMAIL PROTECTED]> > > Hi. I'm fairly new to Java, but stumbling along quite nicely, thank > you; but I'm confused about how the VM finds stuff mentioned in > CLASSPATH. Is there an "everything you wanted to know" FAQ, the kind

Re: [Q] CLASSPATH, JAR searching, etc

1999-09-21 Thread Daniel Barclay
> From: dave madden <[EMAIL PROTECTED]> > > Hi. I'm fairly new to Java, but stumbling along quite nicely, thank > you; but I'm confused about how the VM finds stuff mentioned in > CLASSPATH. Is there an "everything you wanted to know" FAQ, the kind

[Q] CLASSPATH, JAR searching, etc

1999-09-20 Thread dave madden
Hi. I'm fairly new to Java, but stumbling along quite nicely, thank you; but I'm confused about how the VM finds stuff mentioned in CLASSPATH. Is there an "everything you wanted to know" FAQ, the kind of thing that when you get done reading it, you wish you hadn't a

Re: Wrong CLASSPATH

1999-07-29 Thread Chris Abbey
> while (ii < args.lenth ){ // error with this ^^ length is a pseduo-field on array primitives, not a method. lenth is a typo. The compiler will accept one and not the other. :) I'd suggest looking into a more general Java newsgroup, as this has nothing to do wit

Re: Wrong CLASSPATH

1999-07-29 Thread Paul Gearon
> while (ii < args.lenth ){ // error with this I don't know if this is just a typo or not, but you should be looking at args.length, not args.lenth Regards, Paul Paul Gearon [EMAIL PROTECTED] Catapultam habeo. Nisi pecuniam omnem mihi dabis, ad caput tuum saxum immane mittam. (Tr

re: wrong CLASSPATH : IGNORE

1999-07-29 Thread Jonathan C. Webster
Hi , Sorry for the post. I'm blind tonight . All is well. Jonathan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Wrong CLASSPATH

1999-07-29 Thread Jonathan C. Webster
n the error message points to the dot in args.lenth snip--- [javadir]$ which javac /opt/java/jdk117_v3/bin/javac [javadir]$ locate classes.zip /opt/java/jdk117_v3/lib/classes.zip /usr/share/guavac/classes.zip [javadir]$ echo $CLASSPATH .:/opt/java/jdk117_v3/lib/clases.zi

classpath

1999-06-17 Thread AAZ
Hi all, I have a jar file in specified in my CLASSPATH but yet java cannot find any of those classes. I have even xtracted the jar and java also cannot find them. It only finds them if they are in the root dir of my CLASSPATH... Any suggestions? Using 1.1.7 thanks -aaz

Re: Question about classpath

1999-06-09 Thread Maksim Lin
Jim Hazen wrote: > > Christian Cryder wrote: > > > > Hi all, > > > > I have a question about how the class resources are found on Linux. I > > installed jdk117 v3, and when I run a test program, I see it referencing > > files in /usr/share/kaffe/Klasses.jar (which I did NOT install!). What is > >

Re: Question about classpath

1999-06-09 Thread Jim Hazen
Christian Cryder wrote: > > Hi all, > > I have a question about how the class resources are found on Linux. I > installed jdk117 v3, and when I run a test program, I see it referencing > files in /usr/share/kaffe/Klasses.jar (which I did NOT install!). What is > happening here? Can someone expla

Question about classpath

1999-06-09 Thread Christian Cryder
Hi all, I have a question about how the class resources are found on Linux. I installed jdk117 v3, and when I run a test program, I see it referencing files in /usr/share/kaffe/Klasses.jar (which I did NOT install!). What is happening here? Can someone explain this too me? Thanks, Christian ---

Re: CLASHES IN CLASSPATH

1999-05-26 Thread Emilian URSU
o > not with > $ java Hello.class > ) > > On the other hand, the advice below (quoted) to put your current folder > into your CLASSPATH is correct. > After reassigning the CLASSPATH, don't forget to export it: > $ export CLASSPATH > Also, you may use java wi

Re: CLASHES IN CLASSPATH

1999-05-26 Thread bill . wandrack
make sure that you add . to your classpath eg. CLASSPATH=.:/usr/share/jdk-1.1.6v2/lib/claases.zip This way java will look in the current directory first. > Anupama Jayathilake wrote: > > I got a problem.Please advice me. > I have installed jdk-1.1.6v2 sucsesfully (glibc arch

Re: CLASHES IN CLASSPATH

1999-05-26 Thread Steve Nguyen
If you don't set casspath, .java_wrapper will auto find the classes.zip itself and you could run hello.class because your current dir contains it; if you do then they assume that every classes should be included in classpath; solution: if you do set classpath then use --clas

Re: CLASHES IN CLASSPATH

1999-05-26 Thread Emilian URSU
I think java it's looking for your *.class in the directories included in your CLASSPATH try to set CLASSPATH=/usr/share/jdk-1.1.6v2/lib/classes111.zip:. '.' is for java to look for your classes in your working directory On Wed, 26 May 1999, Anupama Jayathilake wr

CLASHES IN CLASSPATH

1999-05-26 Thread Anupama Jayathilake
I got a problem.Please advice me. I have installed jdk-1.1.6v2 sucsesfully (glibc architecture) on RedHat Linux 5.2 throughX windows as root. Without setting CLASSPATH variable in any account it works properly. Now I want to set CLASSPATH envirenment variable (The reason is I want to set

Re: CLASSPATH problem unresolved

1999-05-06 Thread Michael Sinz
On Thu, 06 May 1999 08:25:47 -0700, Gordon Chamberlin wrote: >Claude, > >Try this: >unset CLASSPATH >java -classpath $JAVA_HOME/lib/classes.zip:$JAVA_HOME/lib >org.w3c.rdf.SiRPAC Note: When using -classpath the 1.1.x systems will not add anything to them. -classpath *repla

Re: CLASSPATH problem unresolved

1999-05-06 Thread Gordon Chamberlin
Claude, Try this: unset CLASSPATH java -classpath $JAVA_HOME/lib/classes.zip:$JAVA_HOME/lib org.w3c.rdf.SiRPAC I don't think that you need $JAVA_HOME/lib/org, just $JAVA_HOME/lib so that the JVM can then fine org.w3c... You shouldn't need the '.' in your classpa

CLASSPATH problem unresolved

1999-05-06 Thread Claude
hello, I have a problem by making some programs runs on Java for Linux (I have the jdk1.1.7 and glibc, with SuSE Linux 6.0 (KDE)). I have seen in the mail archive that there are very often some informations about the way the CLASSPATH must function, it has been very usefull for me, but in spite

Re: -classpath "bug"

1999-04-14 Thread Moses DeJong
On Wed, 14 Apr 1999, Michael Sinz wrote: > On Wed, 14 Apr 1999 11:59:48 +0200, Robb Shecter wrote: > > >Hi, > > > >I know this is an old one, but I was wondering about the state of the > >"-classpath" annoyance that is there in Java/Linux 117a, and

Re: -classpath "bug"

1999-04-14 Thread Michael Sinz
On Wed, 14 Apr 1999 11:59:48 +0200, Robb Shecter wrote: >Hi, > >I know this is an old one, but I was wondering about the state of the >"-classpath" annoyance that is there in Java/Linux 117a, and possibly in >other Java versions, too. > >I mean the problem wh

-classpath "bug"

1999-04-14 Thread Robb Shecter
Hi, I know this is an old one, but I was wondering about the state of the "-classpath" annoyance that is there in Java/Linux 117a, and possibly in other Java versions, too. I mean the problem where the command line option has different behavior than the environment variable - namely

RE: CLASSPATH problem

1999-03-26 Thread rsheldon
Ryuji, I was having the same problem using bash last night (I'm new to bash and Linux, having used tcsh on Solaris at work). I found that changes I made to the $HOME/.bash_profile and /etc/bashrc weren't being read automatically. I had to manually source them (e.g. . $HOME/.bash_profile), or r

CLASSPATH problem

1999-03-26 Thread Ryuji Yokoyama
Hello All! Where should I define CLASSPATH environment variable? I put following line both $HOME/.bash_profile and /etc/bashrc, but it doesn't work. export CLASSPATH=.:/usr/lcoal/jdk117_v1a/lib/classes.zip I just get an error message "Can't find class MyFrame." However,

Re: Understanding 1.2 classpath

1999-03-13 Thread Jeff Galyan
> > Steve> With jdk 1.2 installed in /usr/local/java/jdk1.2 what would > Steve> be the equivalent classpath to use in 1.2 for compilation? > Steve> For execution? > > You need no classpath. Don't even set it to "". > I've found in

Re: JacOrb & jdk1.2: NoClassDefFoundError: sun/tools/java/ClassPath

1999-03-12 Thread Juergen Kreileder
> Exception in thread "main" java.lang.NoClassDefFoundError: Bruno> sun/tools/java/ClassPath Bruno> at jacorb.generator.Main.generate(Compiled Code) Bruno> at jacorb.generator.Main.main(Compiled Code) Bruno> when compiling y own idl files

JacOrb & jdk1.2: NoClassDefFoundError: sun/tools/java/ClassPath

1999-03-12 Thread Bruno Boettcher
Hello, tryed to compile one of my projects using JacOrb and run inton a problem... thought maybe i could solve it recompiling jacOrb... but htere too the same problem arises Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/java/ClassPath

Re: Understanding 1.2 classpath

1999-03-12 Thread Juergen Kreileder
>>>>> Steve Cohen writes: Steve> I'm having a little difficulty understanding Java 1.2's Steve> classpath structure. Sun has a dcoument "Command Line Steve> Changes from 1.1 to 1.2". After reading it, I'm even more Steve> c

Understanding 1.2 classpath

1999-03-12 Thread Steve Cohen
I'm having a little difficulty understanding Java 1.2's classpath structure. Sun has a dcoument "Command Line Changes from 1.1 to 1.2". After reading it, I'm even more confused. For one thing, the Sun document mentions a file called rt.jar. I don't fin

Re: Dynamically modifying CLASSPATH

1999-03-08 Thread peter . pilgrim
Don't worry I have figured it out. Peter __ Reply Separator _ Subject: Re: Dynamically modifying CLASSPATH Author: sfloess ([EMAIL PROTECTED]) at lon-mime Date:08/03/99 13:24 Peter: You can't modify the system

Re: Dynamically modifying CLASSPATH

1999-03-08 Thread Michael Sinz
On Mon, 8 Mar 1999 13:16:36 +, [EMAIL PROTECTED] wrote: >Can one dynamically modified the CLASSPATH within Java and to create an >application that loads classes from a modified class path? [...] >This does not work for me on JDK1.1.7 sparc-sun-solaris-2.5.1 ? >But can this sort

Re: Dynamically modifying CLASSPATH

1999-03-08 Thread Jan-Henrik Haukeland
[EMAIL PROTECTED] writes: > Can one dynamically modified the CLASSPATH within Java and to create an > application that loads classes from a modified class path? Yes, you can write your own classloader to extend the loading process dynamically. I.e. to load classes from a dir. not i

Dynamically modifying CLASSPATH

1999-03-08 Thread peter . pilgrim
Can one dynamically modified the CLASSPATH within Java and to create an application that loads classes from a modified class path? For example: Properties propsJVM = System.getProperties(); String ncp = extraClassPath + pathSep + System.getProperty

Re: CLASSPATH variable too large ?

1999-02-14 Thread Moses DeJong
On Mon, 15 Feb 1999, Ken A Redergard wrote: > I have a large amount of .jar files in the library directory, and that > leads to a very large CLASSPATH variable. > > The seems that java (java version "1.1.7") won't accept the > classpath when it reaches a c

CLASSPATH variable too large ?

1999-02-14 Thread Ken A Redergard
I have a large amount of .jar files in the library directory, and that leads to a very large CLASSPATH variable. The seems that java (java version "1.1.7") won't accept the classpath when it reaches a certain amount of characters. I currently have 331 characters in the path, a

Re: CLASSPATH problems.

1999-01-21 Thread PAX!
Karthik Vishwanath wrote: > > Hi all, > i use magician with Java as on openGl implementation. I > have the jdk1.1.7 running on Linux RH5.1. Magician requires that i have a > CLASSPATH set. The current value of my CLASSPATH is: > /data/karthik/magician/classes. If I

Re: CLASSPATH problems.

1999-01-21 Thread Michael Sinz
On Thu, 21 Jan 1999 14:50:06 +0530 (IST), Karthik Vishwanath wrote: >Hi all, > i use magician with Java as on openGl implementation. I >have the jdk1.1.7 running on Linux RH5.1. Magician requires that i have a >CLASSPATH set. The current value of my CLASSPATH is: >/data/k

Re: CLASSPATH problems.

1999-01-21 Thread Martin Sorgatz
Karthik Vishwanath wrote: > Hi all, > i use magician with Java as on openGl implementation. I > have the jdk1.1.7 running on Linux RH5.1. Magician requires that i have a > CLASSPATH set. The current value of my CLASSPATH is: > /data/karthik/magician/classes. If I compile

CLASSPATH problems.

1999-01-21 Thread Karthik Vishwanath
Hi all, i use magician with Java as on openGl implementation. I have the jdk1.1.7 running on Linux RH5.1. Magician requires that i have a CLASSPATH set. The current value of my CLASSPATH is: /data/karthik/magician/classes. If I compile a program which uses some magician classes, the

Re: How do I set the CLASSPATH variable ?

1999-01-05 Thread John Summerfield
On Mon, 4 Jan 1999, Mauricio Cristal wrote: > Hi, > > I know that it likes a stupid question, but I had set and export the > CLASSPATH to the directory (/usr/local/OB3.1/ob/lib) where the classes are > and the JDK didn't find the called methods in the program. On my RedHat

How do I set the CLASSPATH variable ?

1999-01-04 Thread Mauricio Cristal
Hi, I know that it likes a stupid question, but I had set and export the CLASSPATH to the directory (/usr/local/OB3.1/ob/lib) where the classes are and the JDK didn't find the called methods in the program. Thanks, Mauricio Cristal

Classpath for e.g. Mail.jar

1999-01-03 Thread Dirk Waxweiler
Hi I`m using jdk1.2prev2 under Slackware 4.0. I`ve made a prog to send mail`s and I need some funtions from javax.mail.* I can compile my prog with the javac -classpath ../mail.jar funktion. Where do I have to set a classpath for other libs ? MfG Dirk

Classpath for e.g. Mail.jar

1999-01-03 Thread Dirk Waxweiler
Hi I`m using jdk1.2prev2 under Slackware 4.0. I`ve made a prog to send mail`s and I need some funtions from javax.mail.* I can compile my prog with the javac -classpath ../mail.jar funktion. Where do I have to set a classpath for other libs ? MfG Dirk

Re: CLASSPATH confusion

1998-11-26 Thread John Summerfield
ting config file, make it. Now my contribution to the CLASSPATH problem. I drop all my java stuff into /usr/java. I thought of scanning from there for *.jar and *.zip but discovered most of the zips are source, so gave scanning for them. I decided doing it every time's not so bright either as it

Re: Netscape/CLASSPATH question

1998-11-25 Thread peter . pilgrim
Excuse me. Yes Micheal is absolutely right, about unsetting CLASSPATH. Must you put a jar in the ${MOZILLA_HOME}/java/classes? __ Reply Separator _ Subject: Re: Netscape/CLASSPATH question Author: Michael.Sinz ([EMAIL PROTECTED]) at

Re: Netscape/CLASSPATH question

1998-11-25 Thread peter . pilgrim
I had to name it explicitly at work (sparc-sun-solaris-2.5.1) and home (i586-slackware-linux-gnulib1) to get Netscape to work. export CLASSPATH=...:${MOZILLA_HOME}/java/classes/java40.jar:... Pete __ Reply Separator _ Subject: Re

RE: CLASSPATH confusion

1998-11-25 Thread Michael Sinz
On Wed, 25 Nov 1998 14:28:53 +0200, Jaco Greeff wrote: >> Actually, in JDK 1.1, CLASSPATH does not need to be set to >> get the core Java classes.zip file. The Java wrapper does that. > >Ok. That makes sense. I actually found this out without even trying and was >quite

RE: CLASSPATH confusion

1998-11-25 Thread Jaco Greeff
> Actually, in JDK 1.1, CLASSPATH does not need to be set to > get the core Java classes.zip file. The Java wrapper does that. Ok. That makes sense. I actually found this out without even trying and was quite surprised! > The other thing that would be good is a standard place to p

RE: CLASSPATH confusion

1998-11-25 Thread Michael Sinz
On Wed, 25 Nov 1998 07:38:11 +0200, Jaco Greeff wrote: >> Having it "fixed" in 1.2 won't help us > >Sorry for the total ignorance, but I've been hearing a lot about the >CLASSPATH that doesn't need to be set in 1.2. Is this true? Where does >"java&

RE: CLASSPATH confusion

1998-11-25 Thread Jaco Greeff
> Having it "fixed" in 1.2 won't help us Sorry for the total ignorance, but I've been hearing a lot about the CLASSPATH that doesn't need to be set in 1.2. Is this true? Where does "java" (1.2) look for the jar/zip/class files then? Or will it still n

Re: CLASSPATH confusion

1998-11-24 Thread shieldsd
Having it "fixed" in 1.2 won't help us, as Jikes is designed to run with all but most ancient JDK's. You supply the classes.zip (or jar, or whatever), we provide the bytecode. Sigh. dave [EMAIL PROTECTED] http://www.ibm.com/research/jikes

Re: CLASSPATH confusion

1998-11-24 Thread Bryce McKinlay
[EMAIL PROTECTED] wrote: > Sinz writes: > > CLASSPATH, as it is currently implemented by various JVMs, JDKs, and > browsers is, IMHO, one of the most confusing, broken, and expensive > problems in Java (expensive in the cost of support and the like) > > I couldn't

CLASSPATH confusion

1998-11-24 Thread shieldsd
Sinz writes: CLASSPATH, as it is currently implemented by various JVMs, JDKs, and browsers is, IMHO, one of the most confusing, broken, and expensive problems in Java (expensive in the cost of support and the like) I couldn't agree more. It's the most frequent source of confusion t

Re: Netscape/CLASSPATH question

1998-11-24 Thread Michael Sinz
On Tue, 24 Nov 1998 13:37:12 +, Mike Song wrote: >It will do if I remove MOZILLA_HOME and CLASSPATH >from the .bashrc file (so they are not defined). It sounds >strange but it works somehow. Actually, it is documented in Netscape's readme that the browser's JVM looks at C

Re: Netscape/CLASSPATH question

1998-11-24 Thread Mike Song
It will do if I remove MOZILLA_HOME and CLASSPATH from the .bashrc file (so they are not defined). It sounds strange but it works somehow. Mike -- Mike Song wrote: > Hello all, > > Question: > Netscape complains that it could not find java40.jar in > the directories listed in $CL

CLASSPATH var.

1998-11-19 Thread Karthik Vishwanath
Hi all, The java... classes exist as a classes.zip file in ~/jdk-1.1.6/lib. Also, the README.linux says that there is no need to set CLASSPATH. If i need to use 3rd party packages present as .class files in a dir such as ~/3rdparty//utils/classes/* how must i modify my CLASSPATH

Re: [off-topic] Putting codebase in classpath, or equivalent

1998-10-30 Thread Nelson Minar
>I am running some RMI applications on a machine which doesn't have >the necessary classes installed -- the RMI class loader runs out and >grabs the ones that are needed, using the codebase property. That >works great. Yay mobile code! >I wonder if I will have to obtain the javac source and hack

[off-topic] Putting codebase in classpath, or equivalent

1998-10-30 Thread Robert Dodier
r not mirror the class files. javac doesn't seem to notice codebase. Is there some way I can get the effect I want -- which is essentially to put the codebase in the classpath, so to speak. I wonder if I will have to obtain the javac source and hack it to use RMIClassloader.loadClass

Re: classpath problems?

1998-10-29 Thread Charles Forsythe
a wrote: > This works: > javap -classpath $CLASSPATH java.lang.Object > > This don't work: (my.class is in same directory) > javap -classpath $CLASSPATH my.class > Class 'my.class' not found try: javap -classpath $CLASSPATH my Drop the .class extensio

Re: classpath problems?

1998-10-29 Thread a
: > >1) java -classpath $CLASSPATH my.class > >OR > >2) java -classpath $CLASSPATH my > > >If you are doing 1) above, try 2). > > > >a wrote: > >> This works: >> javap -classpath $CLASSPATH java.lang.Object >> >> This don't

Re: classpath problems?

1998-10-29 Thread a
This works: javap -classpath $CLASSPATH java.lang.Object This don't work: (my.class is in same directory) javap -classpath $CLASSPATH my.class Class 'my.class' not found This don't work: java -classpath $CLASSPATH my.class Can't find class my.class This works: j

Re: classpath problems?

1998-10-29 Thread mlorton
> > Here is my CLASSPATH that is not working > > CLASSPATH=.:/usr/local/jdk116_v5/lib/classes.zip:/usr/local/jdk116_v5/lib:/u > sr/local/jdk116_v5/lib/moreClasses:/usr/local/apache1.3.3/share/j-bin Did you remember to EXPORT your path? M.

Re: classpath problems?

1998-10-29 Thread a
Here is my CLASSPATH that is not working CLASSPATH=.:/usr/local/jdk116_v5/lib/classes.zip:/usr/local/jdk116_v5/lib:/u sr/local/jdk116_v5/lib/moreClasses:/usr/local/apache1.3.3/share/j-bin At 04:11 PM 10/29/98 -0500, Martin Little wrote: >This is indicitive that you don't have y

classpath problems?

1998-10-29 Thread a
Hi all Still having problems. My CLASSPATH is set to the needed directories as well as classes.zip but I still keep getting these dang errors. Can't find class test.class (the test program) Unable to initialize threads: cannot find class java/lang/Thread help!

  1   2   >