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"); } }
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
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
Source: https://habr.com/ru/post/1205931/More articles:SelectListItem / update MVC3 4.0 application form to MVC5 4.5.1 / view extension method - c #Converting from a byte array to a string and comparing with another string (java) - javaRun current file in IntelliJ? - javaScala Def method declaration: Colon vs equals - functionHow to install IntelliJ Idea to run a simple java application? - javaRunning pyspark sockets - pythonhow to play sound using AVAudioPCMBuffer - ios8JBoss - how to set deployment runtime (not using CLI, but directly from ear / war) - java-eeGoogle chart width - cssGet google chart image to fill div width - htmlAll Articles