Since Pycharm require java to run first we need to make portable java
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. -
Inside
CommonFiles
folder there is another folder namedOpenJDK64
. Just rename thisOpenJDK64
tojava
.
Configuring Portable Pycharm
- Download portable Pycharm from portableApps.com or from here
-
Open portableapps platform, click
Apps
menu and selectInstall a New App
and select the intellij just downloaded. Installation will begin. -
After installation complete you will find in portableApps folder and a menu will be created in portableApp platform menu
-
Click Run and Configure Python interpreter in Pycharm
Now you can either
- copy the whole PortableApps folder into the usb drive or
- just copy the
Pycharm
andCommonFile
folder and you are ready to go.
Actually we no longer need the portableapps platform to run IntelliJ. You can also make python portable or use winPythin.