Skip to content

Commit 14aaa73

Browse files
committed
Remove Never-Ending Selection Dialogues - Fixes #368
1 parent a39a13e commit 14aaa73

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/the/bytecode/club/bytecodeviewer/resources/ExternalResources.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public String getJavaCommand(boolean blockTillSelected)
6868

6969
//TODO auto-detect the JRE path
7070
boolean block = true;
71-
while (Configuration.java.isEmpty() && block)
71+
//while (Configuration.java.isEmpty() && block)
7272
{
7373
BytecodeViewer.showMessage("You need to set your Java path, this requires the JRE to be downloaded." +
7474
nl + "(C:/Program Files/Java/JDK_xx/bin/java.exe)");
@@ -99,7 +99,7 @@ public String getJavaTools(boolean blockTillSelected)
9999

100100
//TODO auto-detect the JDK path
101101
boolean block = true;
102-
while (Configuration.javaTools.isEmpty() && block)
102+
//while (Configuration.javaTools.isEmpty() && block)
103103
{
104104
BytecodeViewer.showMessage("You need to set your Java Tools path, this requires the JDK to be downloaded." +
105105
nl + "(C:/Program Files/Java/JDK_xx/lib/tools.jar)");
@@ -141,7 +141,7 @@ public String getPython2Command(boolean blockTillSelected)
141141

142142
//TODO auto-detect the Python path (C:/Program Files/Python)
143143
boolean block = true;
144-
while (Configuration.python2.isEmpty() && block)
144+
//while (Configuration.python2.isEmpty() && block)
145145
{
146146
BytecodeViewer.showMessage(TranslatedStrings.YOU_NEED_TO_SET_YOUR_PYTHON_2_PATH.toString());
147147
selectPython2();
@@ -187,7 +187,7 @@ public String getPython3Command(boolean blockTillSelected)
187187

188188
//TODO auto-detect the Python path (C:/Program Files/Python)
189189
boolean block = true;
190-
while (Configuration.python3.isEmpty() && block)
190+
//while (Configuration.python3.isEmpty() && block)
191191
{
192192
BytecodeViewer.showMessage(TranslatedStrings.YOU_NEED_TO_SET_YOUR_PYTHON_3_PATH.toString());
193193
selectPython3();

0 commit comments

Comments
 (0)