An open API service indexing awesome lists of open source software.

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.

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"**.

### Demonstration: