MD. Tauhidul Islam writes:
> whenever I try to run java from command line in my windows xp machine then
> I get the following message:
>
> Exception in thread "main" java.lang.NoSuchMethodError: main
>
> how to resolve this problem?
> I know that I shoul
whenever I try to run java from command line in my windows xp machine
then I get the following message:
Exception in thread "main" java.lang.NoSuchMethodError:
main
how to resolve this problem?
I know that I should ask this on linux box but pls help me if anybody
can
regards
Tauhid
Hi,
I just installed the jdk1.3.1 and run one of my program on Redhat 7.1,
But I find my program's GUI main window becomes very small. The program
was run well on Redhat 6.2. Is there any guy know how to solve it? Thanks
a lot for your help?
Feng
developed worked under the old jdk1.1.7v3, but now they are broken. The
>error I get is:
>java.lang.NoClassDefFoundError: sun/tools/javac/Main
>at org.gjt.jsp.JSPCompiler.compileJavaFile(JSPCompiler.java,
Compiled Code)
>at org.gjt.jsp.JSPCompiler.compile(JSP
I get is:
Robert> java.lang.NoClassDefFoundError: sun/tools/javac/Main
Robert> at org.gjt.jsp.JSPCompiler.compileJavaFile(JSPCompiler.java,
Compiled Code)
Robert> at org.gjt.jsp.JSPCompiler.compile(JSPCompiler.java, Compiled Code)
Robert> at or
;performance than I had before.
>
> However, I have a team of developers working on a new project. The jsp's
>they developed worked under the old jdk1.1.7v3, but now they are broken. The
>error I get is:
>java.lang.NoClassDefFoundError: sun/tools/javac/Main
>at org.gjt.jsp.J
Thanks guys! You nailed it!
I've forwarded the appropriate URLs to my developers to see what they say
about it. I hope it won't be too much of a problem to get that issue resolved.
thanks again!
On 27 Mar 2000, Juergen Kreileder wrote:
Peter did, too =)
>
> org.gjt.jsp.JSPCompil
m of developers working on a new project. The jsp's
they developed worked under the old jdk1.1.7v3, but now they are broken. The
error I get is:
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at org.gjt.jsp.JSPCompiler.compileJavaFile(JSPCompiler.java, Compi
s Hello extends Thread
{
public void run()
{
(new Frame("Hello World")).setVisible(true);
}
public static void main(String[] argv)
{
(new Hello()).start();
}
}
---
would sometimes exit without eve
tem.out.println("inside the run statement...");
}
public static void main(String [] args) {
ThreadEg threadEg = new ThreadEg();
}
}
This results in the sample output
Inside the run statement..
Rob Nugent wrote:
>
> Many thanks to everyone who answered me on this issue. Nathan managed to put me on
>the
> right track:
>
> The window was indeed visible until main() exited (I think I neglected to say this
>in my original post).
>
> I was running with jd
Many thanks to everyone who answered me on this issue. Nathan managed to put me on the
right track:
The window was indeed visible until main() exited (I think I neglected to say this in
my original post).
I was running with jdk1.2pre1 with green threads. Moving to native threads solved the
Ops Sorry.
Forget this post, I just noticed that you did have setVisible( true )
in your code.
Time to crawl under a stone !!!
--Jools
>From: jools enticknap <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: Re: Java3D and 'main()'
>Dat
Hi Rob
I would suggest that you add win.setVisible( true ) after initialization in
order to get AWT to manage the window.
Regards
--Jools
>From: Rob Nugent <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Java3D and 'main()'
>Date: Wed, 07 Jul 1999 15:57:05
I am sure that the following is a User Error on my part, but if anyone can explain
what I am doing wrong
I'd appreciate it:
I have a Java3D program that runs just fine on WinNT. All my geometry/behaviours etc
are created
in a function called init() which is called from the 'main
you are running. Either uninstall Kaffe
or soft link all the Kaffe bins (in /usr/bin) to jdk bins.
-Tom
> eric wrote:
>
> hi there,
>
> any class I try to run, gives me a :
>
> Exception in thread "main" java.lang.NoClassDefFoundError: classname
&
hi there,
any class I try to run, gives me a
:
Exception in thread "main"
java.lang.NoClassDefFoundError: classname
sample and demo files, own files no
matter...
PATH points to the jdk/bin directory and CLASSPATH is set
(JDK1.2 on RedHat6)
please help me someone !
thanx Eric Ballnath
17 matches
Mail list logo