You can carry and run IntelliJ without installing JAVA in your PC.
Configuring Portable JDK
-
Inorder to create portable java we are going to use portableapps platform. Download it from here or from their website.
-
Install it in your preffered drive.
Once installed, inside your choosen folder you will see
PortableApps
folder where all of your portable software will reside. -
Run Start.exe file and you will notice a menu in the taskbar like this
All your portable apps will be listed here. You can run the apps directly from where they are installed.
-
Now download portable JDK made specially for portableapps platform from their website or here.
-
Now click
Apps
menu and selectInstall a New App
and select the jDK just downloaded. Installation will begin. -
Now go to
D:\PortableApps\PortableApps
and you will notice a new folder namedCommonFiles
has been created.This
CommonFiles
folder contains portable JDK and all the portable apps that require jdk to run will automatically find jdk from thisCommonFiles
folder.
Configuring Portable IntelliJ
-
Now we will install portable Intellij. Go to portapps.io and download portable IntelliJ or from here.
-
Extract the file into portableapps folder.
-
In the portableapps menu click
Apps
ansRefresh App Icons
, then you will see IntelliJ entry in the menu. -
Now run IntelliJ and click configuration
-
Select
Structure for New Project
-
IntelliJ will not be able to find JDK at this moment.
-
Click dropdown at
No SDK
and selectAdd JDK
-
A new windows will open, locate
openJDK64
inside theCommonFiles
folder inPortableApps
folder at drive D.
Click ok and Appply.
Now you can either
- copy the whole PortableApps folder into the usb drive or
- just copy the
IntelliJ
andCommonFile
folder and you are ready to go.
Actually we no longer need the portableapps platform to run IntelliJ. The complete portable package(intellij+jdk) can be downloaded from here that can be run from USB.