Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Cannot connect to VM(Socket Closed)
Cannot connect to VM [message #778332] Thu, 12 January 2012 12:16 Go to next message
Meaty Chi is currently offline Meaty ChiFriend
Messages: 9
Registered: December 2011
Location: UK
Junior Member
Hi peeps!

I have been working with Eclipse and successfully been creating my first programs and compiling them. For some reason they have just stopped working. Everytime I try to run a program an error occurs stating that it cannot connect to the VM - Socket Closed.

I haven't changed any config and no software updates i have been applied that I am aware of - Can someone help?

I am using Helios on MACOSX 1.7.2 with Java se 6 1.6.0_29-b11-402

Here is a copy of my console:


12/01/2012 00:44:32.733 eclipse: Unrecognized Java VM option ignored: -XstartOnFirstThread
12/01/2012 00:44:32.733 eclipse: Unrecognized Java VM option ignored: -Xdock:icon=../Resources/Eclipse.icns
12/01/2012 00:44:32.733 eclipse: Unrecognized Java VM option ignored: -XstartOnFirstThread
12/01/2012 00:44:40.009 [0x0-0x67067].org.eclipse.eclipse: Resource filtering enabled
12/01/2012 00:45:12.019 [0x0-0x67067].org.eclipse.eclipse: Processing projects for acm.program.Program
12/01/2012 00:45:12.019 [0x0-0x67067].org.eclipse.eclipse: Got Java project
12/01/2012 00:45:12.020 [0x0-0x67067].org.eclipse.eclipse: Successfully found class Program [in Program.class [in acm.program [in acm.jar [in ACMStarterProject]]]]
12/01/2012 00:45:12.020 [0x0-0x67067].org.eclipse.eclipse: Got Java project
12/01/2012 00:45:12.020 [0x0-0x67067].org.eclipse.eclipse: Successfully found class Program [in Program.class [in acm.program [in karel.jar [in Assignment1]]]]
12/01/2012 00:45:12.020 [0x0-0x67067].org.eclipse.eclipse: Got Java project
12/01/2012 00:45:12.020 [0x0-0x67067].org.eclipse.eclipse: Successfully found class Program [in Program.class [in acm.program [in acm.jar [in Assignment2]]]]
12/01/2012 00:45:12.020 [0x0-0x67067].org.eclipse.eclipse: Processing projects for stanford.karel.Karel
12/01/2012 00:45:12.020 [0x0-0x67067].org.eclipse.eclipse: Got Java project
12/01/2012 00:45:12.022 [0x0-0x67067].org.eclipse.eclipse: Got Java project
12/01/2012 00:45:12.022 [0x0-0x67067].org.eclipse.eclipse: Successfully found class Karel [in Karel.class [in stanford.karel [in karel.jar [in Assignment1]]]]
12/01/2012 00:45:12.022 [0x0-0x67067].org.eclipse.eclipse: Got Java project
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: Add2DoublesAndDivideBy2
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: FindRange
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: Hailstone
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: SimpleDrawingOfARobot
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: MidpointFindingKarel
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: ILoveJava
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: Add2FloatingPointNumbers
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: ProgramHierarchy
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: HelloWorld
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: AverageOfTwoNumbers
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: Snowman
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: Pyramid
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: StoneMasonKarel
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: ConvertInchesToCentimetres
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: CollectNewspaperKarel
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: FeetToCmsConverter
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: Target
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: PythagoreanTheorem
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: CheckerboardKarel
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: InchesToCentimetres
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: Add3Integers
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: Add2Integers
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: MyProgram
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: BeeperPickingKarel
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: Valid types: 24
12/01/2012 00:45:12.456 [0x0-0x67067].org.eclipse.eclipse: In chooseType
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: Add2DoublesAndDivideBy2
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: FindRange
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: Hailstone
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: SimpleDrawingOfARobot
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: MidpointFindingKarel
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: ILoveJava
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: Add2FloatingPointNumbers
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: ProgramHierarchy
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: HelloWorld
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: AverageOfTwoNumbers
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: Snowman
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: Pyramid
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: StoneMasonKarel
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: ConvertInchesToCentimetres
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: CollectNewspaperKarel
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: FeetToCmsConverter
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: Target
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: PythagoreanTheorem
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: CheckerboardKarel
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: InchesToCentimetres
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: Add3Integers
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: Add2Integers
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: MyProgram
12/01/2012 00:45:12.459 [0x0-0x67067].org.eclipse.eclipse: BeeperPickingKarel
12/01/2012 00:45:14.624 [0x0-0x67067].org.eclipse.eclipse: 1
12/01/2012 00:45:14.625 [0x0-0x67067].org.eclipse.eclipse: resource changed
12/01/2012 00:45:14.625 [0x0-0x67067].org.eclipse.eclipse: Final modified flags 0
12/01/2012 00:45:14.628 [0x0-0x67067].org.eclipse.eclipse: 1
12/01/2012 00:45:14.628 [0x0-0x67067].org.eclipse.eclipse: resource changed
12/01/2012 00:45:14.628 [0x0-0x67067].org.eclipse.eclipse: Final modified flags 0
12/01/2012 00:45:14.639 [0x0-0x67067].org.eclipse.eclipse: 1
12/01/2012 00:45:14.639 [0x0-0x67067].org.eclipse.eclipse: resource changed
12/01/2012 00:45:14.639 [0x0-0x67067].org.eclipse.eclipse: Final modified flags 0
12/01/2012 00:45:14.640 [0x0-0x67067].org.eclipse.eclipse: 1
12/01/2012 00:45:14.640 [0x0-0x67067].org.eclipse.eclipse: resource changed
12/01/2012 00:45:14.640 [0x0-0x67067].org.eclipse.eclipse: Final modified flags 0
12/01/2012 00:45:14.640 [0x0-0x67067].org.eclipse.eclipse: 1
12/01/2012 00:45:14.640 [0x0-0x67067].org.eclipse.eclipse: resource changed
12/01/2012 00:45:14.640 [0x0-0x67067].org.eclipse.eclipse: Final modified flags 0
12/01/2012 00:45:14.641 [0x0-0x67067].org.eclipse.eclipse: 1
12/01/2012 00:45:14.641 [0x0-0x67067].org.eclipse.eclipse: resource changed
12/01/2012 00:45:14.641 [0x0-0x67067].org.eclipse.eclipse: Final modified flags 0
12/01/2012 00:45:14.642 [0x0-0x67067].org.eclipse.eclipse: 1
12/01/2012 00:45:14.642 [0x0-0x67067].org.eclipse.eclipse: resource changed
12/01/2012 00:45:14.642 [0x0-0x67067].org.eclipse.eclipse: Final modified flags 0
12/01/2012 00:45:14.824 Firewall: eclipse is listening from ::ffff:0.0.0.0:0 proto=6
12/01/2012 00:45:14.831 Firewall: eclipse is listening from ::ffff:0.0.0.0:51472 proto=6
12/01/2012 00:45:14.920 Firewall: eclipse is listening from ::ffff:0.0.0.0:51472 proto=6
12/01/2012 00:45:19.768 ReportCrash: Saved crash report for java[2181] version 1.0 (1.0) to /Users/meatychi 1/Library/Logs/DiagnosticReports/java_2012-01-12-004519_MyMacBook.crash

[Updated on: Thu, 12 January 2012 12:31]

Report message to a moderator

Re: Cannot connect to VM [message #778477 is a reply to message #778332] Thu, 12 January 2012 19:28 Go to previous messageGo to next message
Meaty Chi is currently offline Meaty ChiFriend
Messages: 9
Registered: December 2011
Location: UK
Junior Member
Anyone point me in the right direction?

Here are some other alerts that appeared in the console:

<terminated, exit value: 139>/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java (Jan 12, 2012 7:26:33 PM)

Invalid memory access of location 0x14 rip=0x111bc1c56
Re: Cannot connect to VM [message #779924 is a reply to message #778477] Mon, 16 January 2012 20:32 Go to previous message
Meaty Chi is currently offline Meaty ChiFriend
Messages: 9
Registered: December 2011
Location: UK
Junior Member
Sorry guys - moved to NetBeans as I needed to do some work!
Previous Topic:Context-sensitive help: Max usable size of a helpKey constant literal string?
Next Topic:UML representation of eclipse
Goto Forum:
  


Current Time: Tue Apr 23 07:47:58 GMT 2024

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

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

Back to the top