deleyd
asked on
eclipse giving error when test program exits
I upgraded my Eclipse IDE version Kepler by downloading the new version (Luna) and replacing the old C:\Program FIles\Eclipse with the new (since there's no installer).
Now when I run a test program which displays a spinner, it runs fine until I close the window to exit the program. Then Eclipse Console Window displays:
Here's my test code:
Now when I run a test program which displays a spinner, it runs fine until I close the window to exit the program. Then Eclipse Console Window displays:
Traceback (most recent call last):I have no C:\Python27_x64... folder, I have no file named boot_common.py anywhere on my hard drive, nor do I have a file named boot_com_servers.py anywhere on my hard drive. I'm not sure why my Eclipse IDE is trying to run some Python code when I close the test program.
File "C:\Python27_x64\lib\site-packages\p y2exe\boot _common.py ", line 92, in <module>
ImportError: No module named linecache
Traceback (most recent call last):
File "boot_com_servers.py", line 4, in <module>
ImportError: No module named win32api
Here's my test code:
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JSpinner;
public class Test2 extends JPanel {
public static void main(String[] args) {
JFrame frame = new JFrame();
frame.setTitle("Test Spinner");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(230, 90);
frame.add(new JSpinner());
frame.setVisible(true);
}
}
What's this error message all about?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I searched everywhere. The only *.py file found is:
C:\Program Files\eclipse\plugins\org. apache.ant _1.9.2.v20 1404171502 \bin\runan t.py
No .jar files anywhere with "ython" in the name.
C:\Program Files\eclipse\plugins\org.
No .jar files anywhere with "ython" in the name.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I tried installing Python 2.7, to see if that would make it happy, but it still complains.
ASKER
Why is Eclipse trying to run Python in the first place?