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

[Bug] can't start using java11 #1957

Closed
1 task done
jiamo opened this issue Aug 31, 2022 · 4 comments · Fixed by #2020
Closed
1 task done

[Bug] can't start using java11 #1957

jiamo opened this issue Aug 31, 2022 · 4 comments · Fixed by #2020
Assignees
Labels
bug Something isn't working

Comments

@jiamo
Copy link

jiamo commented Aug 31, 2022

Bug Type (问题类型)

others (please edit later)

Before submit

  • 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题

Environment (环境信息)

{"versions":{"version":"v1","core":"0.12.0.0","gremlin":"3.4.3","api":"0.67.0.0"}}

Expected & Actual behavior (期望与实际表现)

hugegraph-dist/src/assembly/static/bin/hugegraph-server.sh

if [[ $? -ne 0 || $JAVA_VERSION < $EXPECT_JDK_VERSION ]]; then
    echo "Please make sure that the JDK is installed and the version >= $EXPECT_JDK_VERSION" \
         >> ${OUTPUT}
    exit 1
fi

directly using < may cause problem。My default java 11 will exit at this. but java 11 is bigger than java 8.

@jiamo jiamo added the bug Something isn't working label Aug 31, 2022
@jiamo jiamo changed the title [Bug] describe the main problem [Bug] can't start using java11 Aug 31, 2022
@imbajin
Copy link
Member

imbajin commented Aug 31, 2022

yep, seems we need update the config to 11 (would u mind to submit a PR to fix it?)

@chmx-ustc
Copy link
Contributor

I have encountered this problem before. I must start the project with java 1.8

@imbajin
Copy link
Member

imbajin commented Sep 22, 2022

I have encountered this problem before. I must start the project with java 1.8

(As mentioned above) It's easy to fix this problem, would u like to submit a PR?

@imbajin
Copy link
Member

imbajin commented Nov 18, 2022

Reproduct it when using java11 to start the server:

image

I'll fix this problem in first apache version, thanks for ur report

Repository owner moved this from Todo to Done in HugeGraph Release V1.0.0 Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants