Article View: comp.lang.java.programmer
Article #185Re: problem with starting applications
From: captainclawfree
Date: Sat, 12 Aug 2000 00:00
Date: Sat, 12 Aug 2000 00:00
51 lines
2251 bytes
2251 bytes
To run a java Application you need to specify the class name as the parameter and not the filename. So the command line that starts the program is case sensitive if the class is MyClass the use java MyClass not java myclass Martin Horoba wrote: > hi capt, > > what do you mean with make sure i have my "capitalization" correct ? the > jdk ? > _ > martin > > capt_troy@my-deja.com schrieb: > > > > Well, make sure you have your capitalization corect for the first > > thing. And secondly make sure that your .java file has the same name > > as the class it contains... For example, Server.java should contain a > > class called Server, pay attention again to caps. That's the only > > thing I can think of in this case, if the classpath is correct. > > > > -capt. > > > > In article <397442A5.9C5C4E0B@gmx.net>, > > Martin Horoba <MHoroba@gmx.net> wrote: > > > hello, > > > > > > suddenly i cannot start any applikations after compiling; error: > > > "Can't find class * or something it requires", Exit code: 1 > > > (class which has the same name as the *.java-file) > > > starting applets there is no problem. > > > (i use IBM Developer Kit/JDK118; i've tried Sun SDK122; there is the > > > same problem) > > > > > > can anybody help me ? has anybody had similar problems ? > > > > > > thank you > > > martin > > > > > > PS: the clsspath is correct! > > > > > > > > > > Sent via Deja.com http://www.deja.com/ > > Before you buy.
Technical Details
Message-ID:
<3995363A.5F8022DC@yahoo.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<397442A5.9C5C4E0B@gmx.net> <8l20k4$u96$1@nnrp1.deja.com> <39748E1B.CF6392D5@gmx.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113bde,c75cdf15157c61eb X-Google-Attributes: gid113bde,public X-Google-Thread: 10a146,c75cdf15157c61eb X-Google-Attributes: gid10a146,public X-Google-Thread: 10d6db,c75cdf15157c61eb X-Google-Attributes: gid10d6db,public From: captainclawfree@yahoo.com Subject: Re: problem with starting applications Date: 2000/08/12 Message-ID: <3995363A.5F8022DC@yahoo.com> X-Deja-AN: 657504383 Content-Transfer-Encoding: 7bit References: <397442A5.9C5C4E0B@gmx.net> <8l20k4$u96$1@nnrp1.deja.com> <39748E1B.CF6392D5@gmx.net> X-Accept-Language: Malayalam,en Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer,microsoft.public.java.sdk,aus.computers.java