https://github.com/arthursudbrackibarra/java-project-creator
Automatically create Java projects and open them in Visual Studio Code.
https://github.com/arthursudbrackibarra/java-project-creator
bash batch java vscode
Last synced: about 2 months ago
JSON representation
Automatically create Java projects and open them in Visual Studio Code.
- Host: GitHub
- URL: https://github.com/arthursudbrackibarra/java-project-creator
- Owner: ArthurSudbrackIbarra
- Created: 2021-08-24T00:44:34.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-04T01:10:34.000Z (almost 5 years ago)
- Last Synced: 2025-03-22T15:13:04.162Z (over 1 year ago)
- Topics: bash, batch, java, vscode
- Language: Java
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java-Project-Creator
#### Author: Arthur Sudbrack Ibarra
Automatically create Java projects and open them in Visual Studio Code. (Windows and Linux Ubuntu only).
### Setting up the environment:
#### Windows:
1. Clone this repository anywhere you wish.
2. Copy the path of the 'bin' folder you cloned. (Example: C:\Users\Arthur\Desktop\Java-Project-Creator\windows\bin).
3. 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.
#### Linux Ubuntu:
1. Clone this repository anywhere you wish.
2. Open a Shell instance.
3. Go to the 'linux' folder you cloned. (Example: /home/arthur/Java-Project-Creator/linux).
4. 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.
### Required Tools:
* Visual Studio Code (https://code.visualstudio.com/)
* Java JDK 1.8.0 or higher (https://www.java.com/download/ie_manual.jsp)
### How to use:
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"**.