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
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
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
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
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
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
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);
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
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
/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
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
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 ,
>
>
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
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
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
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
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
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
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
> 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.
> 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'
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
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
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
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
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
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
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 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
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
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
: 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.
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
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
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
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
> 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
> 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
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
> 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
> 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
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]
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
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
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
> >
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
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
---
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
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
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
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
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
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
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
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
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
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
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
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
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,
>
> 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
> 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
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
>>>>> 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
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
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
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
[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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
> 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
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&
> 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
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
[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
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
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
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
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
>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
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
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
:
>
>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
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
>
> 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.
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
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 - 100 of 135 matches
Mail list logo