由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - how to run java program in dos?
相关主题
Dos and Don'ts about classpathAlternative way to swap Integer
请问一个最初级问题Integer in heap
遇到一个程序运行错误a fun coding question
Java fun出个简单题,看你Java APi熟悉到什么程度
Maven浅淡(一)any tools for ...
Re: wrong!!! Re: 有没有 replaceall for StriRe: Why are all java IDEs written in jav
几个问题eclipse 气死我了!
问个ArrayList的问题Complaint about Java class package
相关话题的讨论汇总
话题: maze话题: java话题: program话题: run话题: dos
进入Java版参与讨论
1 (共1页)
p*******y
发帖数: 133
1
hi.
i recently created a class called "Maze" with a public static void main(Stri
ng[] arg)
method. it takes two integers as argument
I am having problem running it.
I did it like this
java maze 8 8
then it says:
exception in thread "main" java.lang.NoClassDefFoundError:Maze
does sb know what happened?
the program runs well in other IDE.
thanks
g*****g
发帖数: 34805
2

Maze

【在 p*******y 的大作中提到】
: hi.
: i recently created a class called "Maze" with a public static void main(Stri
: ng[] arg)
: method. it takes two integers as argument
: I am having problem running it.
: I did it like this
: java maze 8 8
: then it says:
: exception in thread "main" java.lang.NoClassDefFoundError:Maze
: does sb know what happened?

h*****n
发帖数: 439
3
A typical error in java beginner's course.

【在 g*****g 的大作中提到】
:
: Maze

s*a
发帖数: 6
4
If you run "java Maze ..." under the dir you save the class file, then check
the classpath environment variable. Make sure that it includes "current dir"

【在 p*******y 的大作中提到】
: hi.
: i recently created a class called "Maze" with a public static void main(Stri
: ng[] arg)
: method. it takes two integers as argument
: I am having problem running it.
: I did it like this
: java maze 8 8
: then it says:
: exception in thread "main" java.lang.NoClassDefFoundError:Maze
: does sb know what happened?

1 (共1页)
进入Java版参与讨论
相关主题
Complaint about Java class packageMaven浅淡(一)
JavaBean variable name standardRe: wrong!!! Re: 有没有 replaceall for Stri
JAVA IDE ?几个问题
Re: 奇怪?? import找不到package问个ArrayList的问题
Dos and Don'ts about classpathAlternative way to swap Integer
请问一个最初级问题Integer in heap
遇到一个程序运行错误a fun coding question
Java fun出个简单题,看你Java APi熟悉到什么程度
相关话题的讨论汇总
话题: maze话题: java话题: program话题: run话题: dos