Hi friends, I want to create an auto-evaluator for java.. If I submit java program, it has to run and show the output or exceptions(if so).. I tried in some simple ways, it doesnt works out. please give some suggestions how to start and progress... Thanks in advance...
javalover
-4
Newbie Poster
Recommended Answers
Jump to PostHow is this different from executing the javac and java programs with the classes to be tested?
Jump to PostDo you mean something like JUnit, where you define test cases and it runs them and checks that the results are correct?
Jump to PostWhat "evaluations" are done to the code?
Jump to Postcompile and run java program
The javac program will compile a program. The java program will execute a program.
There is a Compiler class and JavaCompiler interface that could be used in a program to compile a java source.
The class's main method could be called to execute …
Jump to PostYou can change System.in by using a System class method.
All 20 Replies
NormR1
563
Posting Sage
Team Colleague
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
javalover
-4
Newbie Poster
NormR1
563
Posting Sage
Team Colleague
javalover
-4
Newbie Poster
NormR1
563
Posting Sage
Team Colleague
javalover
-4
Newbie Poster
NormR1
563
Posting Sage
Team Colleague
javalover
-4
Newbie Poster
NormR1
563
Posting Sage
Team Colleague
javalover
-4
Newbie Poster
NormR1
563
Posting Sage
Team Colleague
javalover
-4
Newbie Poster
NormR1
563
Posting Sage
Team Colleague
javalover
-4
Newbie Poster
NormR1
563
Posting Sage
Team Colleague
javalover
-4
Newbie Poster
NormR1
563
Posting Sage
Team Colleague
javalover
-4
Newbie Poster
NormR1
563
Posting Sage
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.