[](https://codebeat.co/projects/github-com-minghu6-jvirtualenv-master)
# jvirtualenv
A micro Java environment switch which inspired by `virtualenv`.
## OS Supports:
Linux and any other OS whose shell is bash or zsh.
Windows support is a TBD (low priority though).
## Requirements:
1. JDK(*Oracle JDK*) should be placed on a folder whose name is `java`
and its name should startswith `jdk`. (maybe need `sudo updatedb`)
Exp: `/opt/java/jdk-9`,`/opt/java/jdk1.8.0_144`
Or you can edit the config file directly. (not recommented)
The config file should be as followed:
```
[
{
"tag": "9",
"version": "9",
"bit": "64",
"home": "/opt/java/jdk-9"
},
{
"tag": "1.8:0:64",
"version": "1.8.0_144",
"bit": "32",
"home": "/opt/java/jdk1.8.0_144"
}
]
```
2. Python3
## Usage:
1. `pip3 install jvirtualenv`
2. `jvirtualenv list-tag` (view all jdk tag)
3. `jvirtualenv -j 1.8 <myproject>` (if 1.8 is prefix of someone tag)
4. `source <myproject>/bin/activate` (activate virtual java env)
5. `deactivate` (deactivate the virtualenv)
**FOR EXCELLENT PYTHON3 AND VIRTUALENV!**
Metadata
Release files for jvirtualenv 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jvirtualenv-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / jvirtualenv-0.1.0-py3-none-any.whl
| Download URL | jvirtualenv-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3fd8f1ddcd809a5905fe86063d38149c896990ca32ee061c632d5b17b849fe2
|
|
BLAKE2b-256 checksum How to use checksums |
ce747696e305a310b9edcadbd4ae15ac82a696681446b633c52681799e97d9ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for jvirtualenv 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.