Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » my debug/run function does not work
my debug/run function does not work [message #1837914] Wed, 10 February 2021 13:06 Go to next message
sven van doorn is currently offline sven van doornFriend
Messages: 5
Registered: February 2021
Junior Member
as soon as i try to click debug or run it shows me the following error message
error: Could not create the java Virtual machine.
error: A fatal exception has occurred. Program will exit
and then this message in eclipse itself
'Launching Client' has encountered a problem.
cannot connect to vm
in the details it says
Cannot connect to VM
com.sun.jdi.connect.TransportTimeoutException
and in the console it says
Unrecognized option: -Xincgc

i have been trying to fix this issue for a long time now but i cant seem to find the solution
Re: my debug/run function does not work [message #1837952 is a reply to message #1837914] Thu, 11 February 2021 09:46 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Yes, others have reported this:

https://www.eclipse.org/forums/index.php/m/1836084/?srch=-Xincgc#msg_1836084

But it's just not clear from any of those threads where this option is coming from.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: my debug/run function does not work [message #1837994 is a reply to message #1837952] Fri, 12 February 2021 10:46 Go to previous messageGo to next message
sven van doorn is currently offline sven van doornFriend
Messages: 5
Registered: February 2021
Junior Member
but do you know a solution or not i found out that it is a problem with java i think cus it shows the same error when i type java -Xincgc

[Updated on: Fri, 12 February 2021 10:55]

Report message to a moderator

Re: my debug/run function does not work [message #1837995 is a reply to message #1837994] Fri, 12 February 2021 11:14 Go to previous messageGo to next message
sven van doorn is currently offline sven van doornFriend
Messages: 5
Registered: February 2021
Junior Member
i just updated java(my last update was 2-4 months ago) and now im getting further it lets my decide what to run/debug

[Updated on: Fri, 12 February 2021 13:24]

Report message to a moderator

Re: my debug/run function does not work [message #1838015 is a reply to message #1837995] Sat, 13 February 2021 08:21 Go to previous messageGo to next message
sven van doorn is currently offline sven van doornFriend
Messages: 5
Registered: February 2021
Junior Member
there are 2 problems that say the following
the project cannot be build until build path errors are resolved

there is one of these for client and one for server
Re: my debug/run function does not work [message #1838207 is a reply to message #1838015] Thu, 18 February 2021 15:21 Go to previous messageGo to next message
Dante Brown is currently offline Dante BrownFriend
Messages: 1
Registered: February 2021
Junior Member
I have the same problem and cant figure it out either
Re: my debug/run function does not work [message #1838366 is a reply to message #1838207] Tue, 23 February 2021 09:47 Go to previous messageGo to next message
sven van doorn is currently offline sven van doornFriend
Messages: 5
Registered: February 2021
Junior Member
i removed -Xincgc from the arguments

now java does not give a anymore but the console gives this error:

Error: Could not find or load main class Start
Caused by: java.lang.ClassNotFoundException: Start

[Updated on: Tue, 23 February 2021 09:50]

Report message to a moderator

Re: my debug/run function does not work [message #1838373 is a reply to message #1837914] Tue, 23 February 2021 15:03 Go to previous message
Rose Campbell is currently offline Rose CampbellFriend
Messages: 1
Registered: February 2021
Junior Member
Same problem, how to heal it? &

[Updated on: Wed, 24 February 2021 16:56]

Report message to a moderator

Previous Topic:How do I stop Content Assist errors
Next Topic:"Launching Executing install" problem with Maven Install
Goto Forum:
  


Current Time: Fri Apr 19 22:55:41 GMT 2024

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

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

Back to the top