java 11, running sdkmanage results in java.lang.module.FindException: Module java.se.ee not foundIs Java “pass-by-reference” or “pass-by-value”?How do I efficiently iterate over each entry in a Java Map?Does a finally block always get executed in Java?How do I read / convert an InputStream into a String in Java?When to use LinkedList over ArrayList in Java?How do I generate random integers within a specific range in Java?How do I convert a String to an int in Java?Creating a memory leak with JavaWhy is subtracting these two times (in 1927) giving a strange result?What does the following error mean in a cordova project?
Why is c4 bad when playing the London against a King's Indian?
Avoiding cliches when writing gods
Do I include animal companions when calculating difficulty of an encounter?
Can a magnetic field of an object be stronger than its gravity?
Could the Missouri River be running while Lake Michigan was frozen several meters deep?
Company is asking me to work from overseas, but wants me to take a paycut
You've spoiled/damaged the card
What happens to foam insulation board after you pour concrete slab?
What do we gain with higher order logics?
What are the words for people who cause trouble believing they know better?
Is it OK to bring delicacies from hometown as tokens of gratitude for an out-of-town interview?
When writing an error prompt, should we end the sentence with a exclamation mark or a dot?
Can Green-Flame Blade be cast twice with the Hunter ranger's Horde Breaker ability?
What flavor of zksnark in tezos
Linux tr to convert vertical text to horizontal
Is the decompression of compressed and encrypted data without decryption also theoretically impossible?
My coworkers think I had a long honeymoon. Actually I was diagnosed with cancer. How do I talk about it?
1980s (or earlier) book where people live a long time but they have short memories
Traffic law UK, pedestrians
Secure offsite backup, even in the case of hacker root access
Did thousands of women die every year due to illegal abortions before Roe v. Wade?
How to decline physical affection from a child whose parents are pressuring them?
Pronoun introduced before its antecedent
Word for a small burst of laughter that can't be held back
java 11, running sdkmanage results in java.lang.module.FindException: Module java.se.ee not found
Is Java “pass-by-reference” or “pass-by-value”?How do I efficiently iterate over each entry in a Java Map?Does a finally block always get executed in Java?How do I read / convert an InputStream into a String in Java?When to use LinkedList over ArrayList in Java?How do I generate random integers within a specific range in Java?How do I convert a String to an int in Java?Creating a memory leak with JavaWhy is subtracting these two times (in 1927) giving a strange result?What does the following error mean in a cordova project?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
i tried
export JAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee'
and some old solutions here for java 9 same error but nothing work. please help
OS: mac. java version:
Users-MacBook-Pro:Users user$ java --version
java 11.0.2 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
open sdkManager:
Users-MacBook-Pro:~ user$ /Users/user/android/tools/bin/sdkmanager ; exit;
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.se.ee not found
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
EDIT - MORE DATA:
I installed java 8 as well and run this command:
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`; java -version
and got:
java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)
But sdkmanage still gives the same error.
By the way, when close an open again the terminal, running java -version
results again with:
java version "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
Is it OK?
UPDATE 1.4
I have change the .bash_profile file to this:
export JAVA_HOME=`/usr/libexec/java_home -v 1.8.0_202`
unset JAVA_OPTS
and running env give:
Users-MacBook-Pro:~ user$ env
TERM_PROGRAM=Apple_Terminal
SHELL=/bin/bash
TERM=xterm-256color
TMPDIR=/var/folders/9t/4jx8w7_s6f5blrh1yly746z80000gn/T/
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.gDNTyh8LPx/Render
TERM_PROGRAM_VERSION=404.1
TERM_SESSION_ID=8F5607E3-18FE-467B-B843-58F71D03F9B0
USER=user
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.jY4TgxEWu3/Listeners
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
PWD=/Users/user
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
SHLVL=1
HOME=/Users/user
LOGNAME=user
LC_CTYPE=UTF-8
_=/usr/bin/env
Users-MacBook-Pro:~ user$
running sdk manager still give the same error
java android sdk
add a comment |
i tried
export JAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee'
and some old solutions here for java 9 same error but nothing work. please help
OS: mac. java version:
Users-MacBook-Pro:Users user$ java --version
java 11.0.2 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
open sdkManager:
Users-MacBook-Pro:~ user$ /Users/user/android/tools/bin/sdkmanager ; exit;
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.se.ee not found
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
EDIT - MORE DATA:
I installed java 8 as well and run this command:
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`; java -version
and got:
java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)
But sdkmanage still gives the same error.
By the way, when close an open again the terminal, running java -version
results again with:
java version "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
Is it OK?
UPDATE 1.4
I have change the .bash_profile file to this:
export JAVA_HOME=`/usr/libexec/java_home -v 1.8.0_202`
unset JAVA_OPTS
and running env give:
Users-MacBook-Pro:~ user$ env
TERM_PROGRAM=Apple_Terminal
SHELL=/bin/bash
TERM=xterm-256color
TMPDIR=/var/folders/9t/4jx8w7_s6f5blrh1yly746z80000gn/T/
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.gDNTyh8LPx/Render
TERM_PROGRAM_VERSION=404.1
TERM_SESSION_ID=8F5607E3-18FE-467B-B843-58F71D03F9B0
USER=user
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.jY4TgxEWu3/Listeners
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
PWD=/Users/user
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
SHLVL=1
HOME=/Users/user
LOGNAME=user
LC_CTYPE=UTF-8
_=/usr/bin/env
Users-MacBook-Pro:~ user$
running sdk manager still give the same error
java android sdk
add a comment |
i tried
export JAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee'
and some old solutions here for java 9 same error but nothing work. please help
OS: mac. java version:
Users-MacBook-Pro:Users user$ java --version
java 11.0.2 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
open sdkManager:
Users-MacBook-Pro:~ user$ /Users/user/android/tools/bin/sdkmanager ; exit;
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.se.ee not found
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
EDIT - MORE DATA:
I installed java 8 as well and run this command:
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`; java -version
and got:
java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)
But sdkmanage still gives the same error.
By the way, when close an open again the terminal, running java -version
results again with:
java version "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
Is it OK?
UPDATE 1.4
I have change the .bash_profile file to this:
export JAVA_HOME=`/usr/libexec/java_home -v 1.8.0_202`
unset JAVA_OPTS
and running env give:
Users-MacBook-Pro:~ user$ env
TERM_PROGRAM=Apple_Terminal
SHELL=/bin/bash
TERM=xterm-256color
TMPDIR=/var/folders/9t/4jx8w7_s6f5blrh1yly746z80000gn/T/
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.gDNTyh8LPx/Render
TERM_PROGRAM_VERSION=404.1
TERM_SESSION_ID=8F5607E3-18FE-467B-B843-58F71D03F9B0
USER=user
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.jY4TgxEWu3/Listeners
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
PWD=/Users/user
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
SHLVL=1
HOME=/Users/user
LOGNAME=user
LC_CTYPE=UTF-8
_=/usr/bin/env
Users-MacBook-Pro:~ user$
running sdk manager still give the same error
java android sdk
i tried
export JAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee'
and some old solutions here for java 9 same error but nothing work. please help
OS: mac. java version:
Users-MacBook-Pro:Users user$ java --version
java 11.0.2 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
open sdkManager:
Users-MacBook-Pro:~ user$ /Users/user/android/tools/bin/sdkmanager ; exit;
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.se.ee not found
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
EDIT - MORE DATA:
I installed java 8 as well and run this command:
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`; java -version
and got:
java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)
But sdkmanage still gives the same error.
By the way, when close an open again the terminal, running java -version
results again with:
java version "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
Is it OK?
UPDATE 1.4
I have change the .bash_profile file to this:
export JAVA_HOME=`/usr/libexec/java_home -v 1.8.0_202`
unset JAVA_OPTS
and running env give:
Users-MacBook-Pro:~ user$ env
TERM_PROGRAM=Apple_Terminal
SHELL=/bin/bash
TERM=xterm-256color
TMPDIR=/var/folders/9t/4jx8w7_s6f5blrh1yly746z80000gn/T/
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.gDNTyh8LPx/Render
TERM_PROGRAM_VERSION=404.1
TERM_SESSION_ID=8F5607E3-18FE-467B-B843-58F71D03F9B0
USER=user
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.jY4TgxEWu3/Listeners
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
PWD=/Users/user
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
SHLVL=1
HOME=/Users/user
LOGNAME=user
LC_CTYPE=UTF-8
_=/usr/bin/env
Users-MacBook-Pro:~ user$
running sdk manager still give the same error
java android sdk
java android sdk
edited Apr 1 at 22:00
user1932595
asked Mar 24 at 13:08
user1932595user1932595
4833732
4833732
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I had the same problem and I did this:
export APP_HOME=/path/to/my/java-8
export JAVA_HOME=/path/to/my/java-8
On the other hand, if you want to keep this configuration on reboot or in other terminal, you must put these lines on ~/.bashrc file
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55324119%2fjava-11-running-sdkmanage-results-in-java-lang-module-findexception-module-jav%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I had the same problem and I did this:
export APP_HOME=/path/to/my/java-8
export JAVA_HOME=/path/to/my/java-8
On the other hand, if you want to keep this configuration on reboot or in other terminal, you must put these lines on ~/.bashrc file
add a comment |
I had the same problem and I did this:
export APP_HOME=/path/to/my/java-8
export JAVA_HOME=/path/to/my/java-8
On the other hand, if you want to keep this configuration on reboot or in other terminal, you must put these lines on ~/.bashrc file
add a comment |
I had the same problem and I did this:
export APP_HOME=/path/to/my/java-8
export JAVA_HOME=/path/to/my/java-8
On the other hand, if you want to keep this configuration on reboot or in other terminal, you must put these lines on ~/.bashrc file
I had the same problem and I did this:
export APP_HOME=/path/to/my/java-8
export JAVA_HOME=/path/to/my/java-8
On the other hand, if you want to keep this configuration on reboot or in other terminal, you must put these lines on ~/.bashrc file
answered May 9 at 20:05
Victor VkrVictor Vkr
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55324119%2fjava-11-running-sdkmanage-results-in-java-lang-module-findexception-module-jav%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown