Recently, I switched from a Mac to a PC. I thought that I set up Eclipse correctly but every time I exit out of a JFrame, Eclipse spits out an error at me.
Unable to open SCSI controller 0:[] , error code: 0x5
Unable to open SCSI controller 1:[] , error code: 0x5
I’ve tested this on other projects that use a JFrame, but it still does the same thing. This is my code if it is relevant to this problem:
package src.longarmx.rts;
import java.awt.Dimension;
import javax.swing.JFrame;
public class Frame {
public static int width = 800;
public static int height = 600;
public static void main(String[] args) {
Dimension size = new Dimension(width, height);
JFrame frame = new JFrame();
frame.setTitle("RTS Game");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(size);
frame.setResizable(false);
frame.setLocationRelativeTo(null);
frame.setUndecorated(true);
Screen s = new Screen(frame);
frame.add(s);
frame.setVisible(true);
}
}
I don’t know if it helps, but I am running a 64-bit eclipse and I haven’t messed with the Java Path variable at all.
Thanks,
Longarmx