Unix Launcher won't launch.

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
Status
Not open for further replies.

creativetux

New Member
Jul 29, 2019
13
0
0
Fresh Ubuntu 12.10, with Sun Java 8 from ppa and latest nvidia drivers from ppa.

java -jar FTB_Launcher.jar results in:

In the launcher window:
10:02:56 [INFO] net.ftb.gui.LaunchFrame.main:124 FTBLaunch starting up (version 1.0.4)​
10:02:56 [INFO] net.ftb.gui.LaunchFrame.main:128 Now is: 2012-11-14 10:02:56​
10:02:56 [INFO] net.ftb.gui.LaunchFrame.main:129 Java version: 1.8.0-ea​
10:02:56 [INFO] net.ftb.gui.LaunchFrame.main:130 Java vendor: Oracle Corporation​
10:02:56 [INFO] net.ftb.gui.LaunchFrame.main:131 Java home: /usr/lib/jvm/java-8-oracle/jre​
10:02:56 [INFO] net.ftb.gui.LaunchFrame.main:132 Java specification: Java Virtual Machine Specification version: 1.8 by Oracle Corporation​
10:02:56 [INFO] net.ftb.gui.LaunchFrame.main:134 Java vm: Java HotSpot(TM) 64-Bit Server VM version: 25.0-b08 by Oracle Corporation​
10:02:56 [INFO] net.ftb.gui.LaunchFrame.main:136 OS: amd64 Linux 3.5.0-18-generic​
10:02:56 [INFO] net.ftb.gui.LaunchFrame.main:137 Working directory: /home/creativetux/Documents/FTB​
10:02:56 [INFO] net.ftb.gui.LaunchFrame.main:139 Max Memory: 922746880​
10:02:57 [INFO] net.ftb.locale.I18N.setLocale:75 [i18n] enUS English language file loaded!​
10:02:57 [INFO] net.ftb.locale.I18N.setupLocale:46 [i18n] Fallback enUS loaded​
10:02:58 [INFO] net.ftb.gui.panes.OptionsPane.<init>:139 [i18n] Added 6 svSE to options pane​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: Exception in thread "AWT-EventQueue-0"​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: java.lang.ArrayIndexOutOfBoundsException: 6 > 0​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at java.util.Vector.insertElementAt(Vector.java:594)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at java.util.Vector.add(Vector.java:810)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at net.ftb.gui.panes.OptionsPane.<init>(OptionsPane.java:140)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at net.ftb.gui.LaunchFrame.<init>(LaunchFrame.java:418)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at net.ftb.gui.LaunchFrame$1.run(LaunchFrame.java:189)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:720)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at java.awt.EventQueue.access$200(EventQueue.java:103)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at java.awt.EventQueue$3.run(EventQueue.java:681)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at java.awt.EventQueue$3.run(EventQueue.java:679)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at java.security.AccessController.doPrivileged(Native Method)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at java.awt.EventQueue.dispatchEvent(EventQueue.java:690)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)​
10:02:58 [INFO] net.ftb.gui.LauncherConsole$OutputOverride.write:65 From Console: at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)​
And in the terminal which I launched it from:
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 6 > 0​
at java.util.Vector.insertElementAt(Vector.java:594)​
at java.util.Vector.add(Vector.java:810)​
at net.ftb.gui.panes.OptionsPane.<init>(OptionsPane.java:140)​
at net.ftb.gui.LaunchFrame.<init>(LaunchFrame.java:418)​
at net.ftb.gui.LaunchFrame$1.run(LaunchFrame.java:189)​
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)​
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:720)​
at java.awt.EventQueue.access$200(EventQueue.java:103)​
at java.awt.EventQueue$3.run(EventQueue.java:681)​
at java.awt.EventQueue$3.run(EventQueue.java:679)​
at java.security.AccessController.doPrivileged(Native Method)​
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)​
at java.awt.EventQueue.dispatchEvent(EventQueue.java:690)​
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)​
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)​
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)​
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)​
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)​
at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)​

Also the copy to pastebin doesn't work and resulted in:
10:04:15 net.ftb.gui.LauncherConsole$1.actionPerformed:114 [WARN] could not open url, not supported​
 

Sal

New Member
Jul 29, 2019
11
0
0
Thats a bit crap. Minecraft works no problems on Java 8!
Yes, but does the launcher?

CreativeTux can install OpenJDK_7 alongside and switch with sudo update-alternatives --config java

(Note: I run squeeze, not ubuntu, but I assume it's the same.)
 

creativetux

New Member
Jul 29, 2019
13
0
0
Minecraft doesn't perform well with OpenJDK, hencing having Oracle on my system from the PPA. I wrote some Java to launch the FTB launcher faking it into thinking its Java 7. Working like a charm now.
 

Sal

New Member
Jul 29, 2019
11
0
0
I've been running with OpenJDK for quite a while now with only minor hitches. Right now I'm running FTB and thus minecraft through v7. Might want to give it a try, depending on how foss you are. =)
 

frederikam

New Member
Jul 29, 2019
836
0
1
Minecraft doesn't perform well with OpenJDK, hencing having Oracle on my system from the PPA. I wrote some Java to launch the FTB launcher faking it into thinking its Java 7. Working like a charm now.

Nice to hear that you got your problem solved.
 

creativetux

New Member
Jul 29, 2019
13
0
0
Yeah, if you use Oracle Java 7 on Ubuntu 64bit 12.10 it complains about lwjgl being the wrong ELF class, so you have to use Java 8 for Minecraft. If you have sticky keys, then you'll need to update the lwjgl within the jar file. I wrote a post on my blog about it. The launcher really needs fixing for others tho.
 

etopsirhc

New Member
Jul 29, 2019
14
0
0
so the problem with the wrong elfclass is just update to java 8? or was it somthing the launcher needed to fix ? *slightly lost*
currently running java7-64 and when i get the wrong elfclass error i copy over a new set of lwjgl jar files and their natives to the bin folder. only really happens on new installs or forced updates to the modpack ( witch is just a fresh install in itself )
 
Status
Not open for further replies.