Hi, the world is not running in IntelliJ Idea

I have been working with Eclipse for many years. After you decided to try IntelliJ Idea. Bua also simple java Hello World does not start! Nothing just happens. What should I check / configure? Thanks.

package test; /** * Created with IntelliJ IDEA. * Date: 16/06/12 * Time: 12:13 * To change this template use File | Settings | File Templates. */ public class Main { public static void main(String ...args) { System.out.println("Hello World"); } } 
-3
source share
2 answers

This is due to a problem with the shared network drive. If the default user folder on the shared network drive IntelliJ will not work correctly. Find ide.properties and fix ways not to use a shared network drive

+1
source

Your line

 public static void main(String...args){ 

Must be written as

 public static void main(String[] args){ 

You must configure the array of strings or it will not start

-1
source

Source: https://habr.com/ru/post/1205931/


All Articles