Skip to main content



      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 08:06 Go to next message
Eclipse UserFriend
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 04:46 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: my debug/run function does not work [message #1837994 is a reply to message #1837952] Fri, 12 February 2021 05:46 Go to previous messageGo to next message
Eclipse UserFriend
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 05:55] by Moderator

Re: my debug/run function does not work [message #1837995 is a reply to message #1837994] Fri, 12 February 2021 06:14 Go to previous messageGo to next message
Eclipse UserFriend
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 08:24] by Moderator

Re: my debug/run function does not work [message #1838015 is a reply to message #1837995] Sat, 13 February 2021 03:21 Go to previous messageGo to next message
Eclipse UserFriend
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 10:21 Go to previous messageGo to next message
Eclipse UserFriend
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 04:47 Go to previous messageGo to next message
Eclipse UserFriend
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 04:50] by Moderator

Re: my debug/run function does not work [message #1838373 is a reply to message #1837914] Tue, 23 February 2021 10:03 Go to previous message
Eclipse UserFriend
Same problem, how to heal it? &

[Updated on: Wed, 24 February 2021 11:56] by Moderator

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


Current Time: Mon Jul 07 16:41:20 EDT 2025

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

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

Back to the top