No quarrel from these quarters.
John
On 11/25/01, 10:42:54AM -0800, Rob Saul wrote:
>
> ah, kaffe, an oft encountered rock in the road for those
> new to Java and Linux ( at least on Red Hat ). Sure would
> save a lot of grief it they'd pull it from the 'standard' installs
> and put it on Power
t6; statement at the beginning of each file, and do the same
> > thing. Let me know if this generates any errors.
> >
> > > --
> > > From: John P. Verel[SMTP:[EMAIL PROTECTED]]
> > > Reply To: [EMAIL PROTECTED]
> > > Sent: Saturday, November
0:21 PM
> > To: [EMAIL PROTECTED]
> > Subject:Re: jdk1.3.1 not finding files in current directory: post script
> >
> > Right, my current directory is in my classpath for both machines. But
> > javac in windows sees the .java files and compiles
On Sat, Nov 24, 2001 at 11:04:27PM -0500, [EMAIL PROTECTED] wrote:
: Then . is in your classpath :)
It's not that... You're trying to import the class foo1 before you've
compiled it.. work around this by doing either:
javac *.java
or
javac foo1.java
javac foo2.java
Either of those will work
D]
> Sent: Saturday, November 24, 2001 10:21 PM
> To: [EMAIL PROTECTED]
> Subject: Re: jdk1.3.1 not finding files in current directory: post script
>
> Right, my current directory is in my classpath for both machines. But
> javac in windows sees the .java files and compiles th
Sorry, paste didn't work right. Let me do it over:
[john in directory: Assignment6]$ ll
total 16
-rw---1 john john 1399 Nov 24 21:51 Time.java
-rw---1 john john 2866 Nov 24 21:02
Time.java.backup1124
-rw-rw-r--1 john john 1707 Nov 24 22:2
And I get the following:
[john in directory: Assignment6]$ ll
total 16
-rw---1 john john 1399 Nov 24 21:51 Time.java
-rw---1 john john 2866 Nov 24 21:02 Time.java.backup1124
-rw-rw-r--1 john john 1707 Nov 24 22:25 TimeTest.java
-rw-rw-r--
On Sat, 24 Nov 2001, John P. Verel wrote:
> Right, my current directory is in my classpath for both machines. But
> javac in windows sees the .java files and compiles them,, the Linux
> javac does not. Your example below is consistent with mine on Linux.
> Question why I get differing behavior
Right, my current directory is in my classpath for both machines. But
javac in windows sees the .java files and compiles them,, the Linux
javac does not. Your example below is consistent with mine on Linux.
Question why I get differing behavior on the windows machine.
John
On 11/24/01, 11:04:2
On Sat, 24 Nov 2001, John P. Verel wrote:
> I may have not stated the question correctly.
No, I understood. I may have not stated the answer clearly.
> I have two files, foo1.java and foo2.java foo2.java imports foo1. On my
> Windows machine, I can simply execute javac foo2.java and javac comp
I may have not stated the question correctly.
I have two files, foo1.java and foo2.java foo2.java imports foo1. On my
Windows machine, I can simply execute javac foo2.java and javac compiles
foo1.java and foo2.java. Same jdk on Linux does not. In neither case do I
have a classpath set. On my
11 matches
Mail list logo