Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » java.io.IOException: Cannot create pty(Cannot execute C++ code)
java.io.IOException: Cannot create pty [message #1814872] Sat, 21 September 2019 01:23
Gary Yang is currently offline Gary YangFriend
Messages: 3
Registered: September 2019
Junior Member
My macOS Mojave version is 10.14.6.
I use Eclipse IDE for C/C++ Developers
Version: Helios Service Release 2
Build id: 20110218-0911

When I run my helloworld.cpp, I got
java.io.IOException: Cannot create pty
at org.eclipse.cdt.utils.pty.PTY.<init>(PTY.java:88)
at org.eclipse.cdt.utils.pty.PTY.<init>(PTY.java:55)
at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.exec(LocalCDILaunchDelegate.java:378)
at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.runLocalApplication(LocalCDILaunchDelegate.java:96)
at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.launch(LocalCDILaunchDelegate.java:70)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:924)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1128)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Previous Topic:Remote Debugging with Eclipse
Next Topic:The Resume, Step into, Step Over buttons greyed out
Goto Forum:
  


Current Time: Thu Apr 25 11:01:09 GMT 2024

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

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

Back to the top