1. Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here

Launch the FTB_launcher.jar with just double click!!!

Discussion in 'General FTB chat' started by Elodin_Wolfgang, Jan 16, 2014.

?

helpful?

  1. Yes!

    3 vote(s)
    42.9%
  2. No!

    4 vote(s)
    57.1%
  1. Elodin_Wolfgang

    Elodin_Wolfgang New Member

    Launch the FTB_launcher.jar with just double click!!! (Mac)

    I have Found a way to make an executable to launch the FTB_launcher.jar easily. It goes as follows:

    Listen to this YouTube video and do exactly as he says:

    With the only exception being instead of the say command copy and past this:

    cd ~/Desktop/ftb/
    export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
    java -jar FTB_Launcher.jar
     
    Last edited: Jan 16, 2014
  2. Bomb Bloke

    Bomb Bloke New Member

    Can't you just, like, install the JRE to be able to double click JARs?

    Oooooh... Mac. :rolleyes:
     
  3. SinisterBro :3

    SinisterBro :3 New Member

    Couldn't you just install JRE and simply double click?
    Óh wait.. My bad.
     
  4. Elodin_Wolfgang

    Elodin_Wolfgang New Member

    Yes you can but this cuts out any complications with JRE not working. And is an opportunity to learn about the mac terminal.[DOUBLEPOST=1389852675][/DOUBLEPOST]
    i cant tell if you are being sarcastic or not haha
     
  5. Strikingwolf

    Strikingwolf New Member

    I created a command file that works like this may try to make it into an app format so I can dock it later
     
  6. SatanicSanta

    SatanicSanta New Member

    You can put jar files on the dock, it just has to be on the side where the trash is. Making apps is super easy with Automator.
    I haven't had any complications with using a jar file to launch FTB. And eh, it's just unix.
     
  7. Strikingwolf

    Strikingwolf New Member

    The problem was that the jar file would not work. I could use Automator though.
     
  8. EnzymeA113

    EnzymeA113 New Member

    I do believe it's because OS X doesn't handle Java 7 (the first non-apple build of Java) to well. In my experience the solution was programming a script to launch the game with Java 6.
     
  9. Elodin_Wolfgang

    Elodin_Wolfgang New Member

    Yes the code is up in the main topic ^^ just change the java 1.6 to 7
     
  10. EnzymeA113

    EnzymeA113 New Member

    Ah, k. Anyway, doing this allows you to put the applescript in the Dock's application section, which is impossible with just a regular jar.
     
  11. Elodin_Wolfgang

    Elodin_Wolfgang New Member

    Please tell me how to do this as soon as you have figured it out.
     
  12. SatanicSanta

    SatanicSanta New Member

    Yeah, I think Mavericks might use J7u45 by default for stuff like Minecraft, but before that it does not. I just used Automator with 2 shell scripts:
    Code:
    cd <location that Minecraft is in>
    Code:
    java -d64 -Xms<minRAMallocation> -Xmx<maxRAMallocation> -jar <File path to Bootstrap.jar>
    As for FTB, it automatically uses Java 7 anyway.
     
  13. Elodin_Wolfgang

    Elodin_Wolfgang New Member

    Not my computer for some reason humm. Oh well. And when they say you cant load the 1.6.0 minecraft and above with java 1.6 that is not true, I can still run all of that.
     
  14. SatanicSanta

    SatanicSanta New Member

    I know you can run it, but certain mods require Java 7. Also, running java 7 will significantly improve performance.
     
  15. _gjkf_

    _gjkf_ New Member

    Can't just write /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -jar /Users/User/"path for the .jar" in a script shell and then use automator? I did this and it's working perfectly.
     

Share This Page