/*     */   protected void loadJarURLs() throws Exception {
/* 164 */     this.state = 2;
/* 165 */     String str1 = "lwjgl.jar, jinput.jar, lwjgl_util.jar, " + this.mainGameUrl;
/* 166 */     str1 = trimExtensionByCapabilities(str1);
/*     */ 
/* 168 */     StringTokenizer localStringTokenizer = new StringTokenizer(str1, ", ");
/* 169 */     int i = localStringTokenizer.countTokens() + 1;
/*     */ 
/* 171 */     this.urlList = new URL[i];
/* 172 */     URL localURL = new URL("http://tunacraft.com/download/");
/*     */ 
/* 174 */     for (int j = 0; j < i - 1; j++) {
/* 175 */       this.urlList[j] = new URL(localURL, localStringTokenizer.nextToken());
/*     */     }
/*     */ 
/* 178 */     String str2 = System.getProperty("os.name");
/* 179 */     String str3 = null;
/*     */ 
/* 181 */     if (str2.startsWith("Win"))
/* 182 */       str3 = "windows_natives.jar.lzma";
/* 183 */     else if (str2.startsWith("Linux"))
/* 184 */       str3 = "linux_natives.jar.lzma";
/* 185 */     else if (str2.startsWith("Mac"))
/* 186 */       str3 = "macosx_natives.jar.lzma";
/* 187 */     else if ((str2.startsWith("Solaris")) || (str2.startsWith("SunOS")))
/* 188 */       str3 = "solaris_natives.jar.lzma";
/*     */     else {
/* 190 */       fatalErrorOccured("OS (" + str2 + ") not supported", null);
/*     */     }
/*     */ 
/* 193 */     if (str3 == null) {
/* 194 */       fatalErrorOccured("no lwjgl natives files found", null);
/*     */     } else {
/* 196 */       str3 = trimExtensionByCapabilities(str3);
/* 197 */       this.urlList[(i - 1)] = new URL(localURL, str3);
/*     */     }
/*     */   }