Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing Java #96

Open
sam-abens opened this issue Jan 26, 2022 · 1 comment
Open

Installing Java #96

sam-abens opened this issue Jan 26, 2022 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@sam-abens
Copy link

Hello,
I wanted to know if it's possible to use nlu on a 'non-cells' editor like VS Code.
I tried to, but I have this error :
Exception: Java gateway process exited before sending its port number

I looked into the colab file and I think I need to paste this

os.environ["JAVA_HOME"] = "/usr/lib/jvm/java-8-openjdk-amd64"
os.environ["PATH"] = os.environ["JAVA_HOME"] + "/bin:" + os.environ["PATH"]

but I don't have this file /usr/lib/jvm/java-8-openjdk-amd64

Could you please send it to me or on Github if it's the solution ?
Thanks for your help

@C-K-Loan
Copy link
Member

C-K-Loan commented Feb 2, 2022

Hi @sam-abens
yes NLU can run in any environment, can you share what operating system you are running?
You need to have Java8 installed on your machine and make sure its the default

If you open a shell you can confirm Java is properly installed with the following comand

 java -version

The output should be

openjdk version "1.8.0_312"
OpenJDK Runtime Environment (build 1.8.0_312-8u312-b07-0ubuntu1~20.04-b07)
OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)

@C-K-Loan C-K-Loan added the question Further information is requested label Feb 2, 2022
@C-K-Loan C-K-Loan self-assigned this Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants