Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Java is a cross-platform programming language created by Sun Microsystems and is now owned by Oracle. Do not confuse this tag with JavaScript or JScript. Questions about installing/running Java on macOS are welcome, questions about Java programming must be asked on StackOverflow.
-1
votes
2
answers
1k
views
How do I resolve a spurious "No suitable Java version found" message?
--verbose returns
1.8.0_121 (x86_64) "Oracle Corporation" - "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
1.7.0_09 (x86_64) "Oracle Corporation" - "Java SE 7" /Library … /Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home
/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
And I will note that if anything runs under the Java 7 JVM, text rendering is seriously …
0
votes
Accepted
How do I resolve a spurious "No suitable Java version found" message?
Given that none of the suggestions I tried actually accomplished anything (and one broke other Java programs), and that either (1) digging into the existing app and double-clicking the JAR, or (2) launching … /jdk1.8.0_121.jdk/Contents/Home'; java -jar /Users/foo/Tn5250j.app/Contents/Resources/Java/tn5250j.jar"
(The name of my home directory has been changed "to protect the innocent.") …
0
votes
2
answers
264
views
I would like to preempt a command on my mac (specifically, Keytool)
I need, when generating Java keystores (which I do frequently), to generate them under the Java 8 version of Keytool. … If I use the keytool in the default Java version, they are incompatible with the Java on the target systems we manage. …
-1
votes
I would like to preempt a command on my mac (specifically, Keytool)
/bin/bash
export JAVA_HOME='/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home'
echo -e "\033[0;31m*** USING JAVA 8 KEYTOOL ***\033[0m"
/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/ … Put up a message, in red, to indicate that the Java 8 keytool is in use
Explicitly invoke the Java 8 keytool, using the fully qualified path to avoid the recursive tightloop. …