bsgrd
bsgrd

Reputation: 663

Open java project in IntelliJ from git bash

I'm trying to open a project in IntelliJ through command line (git bash) like i would do with Visual Studio Code using the command:

code .

I have create an environment variable in path pointing to the "bin" directory for my IntelliJ installation like this: C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.4\bin When I run the command:

idea .

I get the following error:

enter image description here

Does anyone know what's wrong? (i do have a JAVA_HOME variable)

Upvotes: 2

Views: 2135

Answers (2)

Corty
Corty

Reputation: 1

This is how I got intelliJ to start from my git bash terminal:

idea64.exe .

Upvotes: 0

bsgrd
bsgrd

Reputation: 663

I installed Java JDK 32bit in stead of 64bit, and everything was fine.

Upvotes: 1

Related Questions