Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse won't run my test program(Eclipse gives me an error when i try to run my test program)
icon4.gif  Eclipse won't run my test program [message #1059618] Mon, 20 May 2013 20:50 Go to next message
Jamie Thirkell is currently offline Jamie Thirkell
Messages: 1
Registered: May 2013
Junior Member

class apples {
public static void main (String args[]) {
System.out.println("hello world");
}
};



when I run this code as a JAVA application it gives me an error that says:

Launching apples(2) has encountered a problem
exception occurred executing command line

Exception occurred executing command line.
Cannot run program "C:\Program Files\Java\jre7\bin\javaw.exe" (in directory "C:\Users\Jamie\workspace\jamie"): CreateProcess error=740, The requested operation requires elevation
Re: Eclipse won't run my test program [message #1059759 is a reply to message #1059618] Tue, 21 May 2013 14:27 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2274
Registered: July 2009
Senior Member
You need to figure out why you're having issues running Java itself.

---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:With Perl - An internal error occurred during: "Toggle Line Breakpoint (epic)"
Next Topic:Eclipse
Goto Forum:
  


Current Time: Sun Sep 21 10:24:26 GMT 2014

Powered by FUDForum. Page generated in 0.01515 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software