Automatically create Java projects and open them in Visual Studio Code. (Windows and Linux Ubuntu only).
- Clone this repository anywhere you wish.
- Copy the path of the 'bin' folder you cloned. (Example: C:\Users\Arthur\Desktop\Java-Project-Creator\windows\bin).
- Create a path environment variable in your computer with the path you copied. More on how to do that here: https://www.computerhope.com/issues/ch000549.htm
NOTE: jpc.bat and jpc.jar MUST be in the SAME directory, do not separate them.
- Clone this repository anywhere you wish.
- Open a Shell instance.
- Go to the 'linux' folder you cloned. (Example: /home/arthur/Java-Project-Creator/linux).
- Type the command below:
sh setup-jpc.sh
NOTE: You'll be asked to enter your sudo password.
NOTE: jpc.sh and jpc.jar MUST be in the SAME directory, do not separate them.
- Visual Studio Code (https://code.visualstudio.com/)
- Java JDK 1.8.0 or higher (https://www.java.com/download/ie_manual.jsp)
Open a terminal anywhere and type:
jpc YourProjectName YourMainClassName
You can also ignore the "YourMainClassName" parameter as shown below:
jpc YourProjectName
By doing that, your main class will be called "Main".