New to IntelliJ but after installation, project creation, module creation, and editing new file - Windows 7 reports "IntelliJ IDEA has stopped working"
My environment:
Windows 7.0 with all the appropriate updates
Java 8 update 45 (64-bit)
I have installed IntelliJ 14.1.3 Community version
C: drive is SSD so any software I install is placed on the D:\InstalledSoftware thus
IntelliJ is installed at D:\InstalledSoftware\JetBrains\....
My project is also installed on the D: at
D:\SoftwareTesting\MyTesting\JavaFX
at this level I find the following entries
.idea
src
Main.java
JavaFX.iml
When I initially created the project, IntelliJ was happy with the JDK that I pointed it to.
However, Windows reports "IntelliJ IDEA has stopped working"
I tried reinstalling IntelliJ letting it select defaults paths on the C: instead of where I want them with the same results:
I have Googled for possible solutions but nothing useful turned up.
For completeness I am including the dirt simple code from
posted by thenewboston from his JavaFX introductory YouTube
https://www.youtube.com/watch?v=FLkOX4Eez6o
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;
public class Main extends Application
{
Button button;
public static void main(String[] args)
{
launch(args);
} // public static void main(...)
@Override
public void start(Stage primaryStage) throws Exception
{
primaryStage.setTitle("This Is My First Window");
button = new Button();
button.setText("Click Me");
StackPane layout = new StackPane();
layout.getChildren().add(button);
Scene scene = new Scene(layout, 300, 250);
primaryStage.setScene(scene);
primaryStage.show();
} // public void start(...)
} // public class Main
It appears to be a problem with configuration of the IDEA but I have not a clue what.
Suggestions?
Please sign in to leave a comment.
The problem could be caused by an antivirus/firewall.
You can also try running IDEA under different JDK version or try 64-bit version: https://intellij-support.jetbrains.com/entries/23455956 .
The problem indeed was with SpyBot one of my 3 anit-virus.
I stopped having SpyBot scan tasks before excuting and now IntelliJ works fine.
Thanks for the hint about check my antivirus