It is currently 20 Apr 2024, 03:01
   
Text Size

Java 7 and running Forge on a Mac

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Java 7 and running Forge on a Mac

Postby timmermac » 21 Aug 2013, 12:08

If you are on a Mac and have issues with it seeing Java 7 as the default installed version, go install the full JDK (Java Development Kit) instead of just the JRE (Java Runtime Environment), it makes all the correct file and path associations.
This was posted in the most recent beta topic and has been verified to work by at least one other Mac user. This will be stickied for the time being.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Java 7 and running Forge on a Mac

Postby Bog Wraith » 08 Sep 2013, 04:52

I can verify that this works as I could not launch Forge after installing Java 7 JRE by itself. Once I also installed the JDK version of Java 7, double clicking on the forge.command file launched the game with no other issues.

Thanks again goes to spr for pointing this out to me in the Forge Beta: 08-30-2013 ver 1.4.7 thread. (Thanks Steve! :) )
'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
User avatar
Bog Wraith
Global Mod 1 (Ret)
 
Posts: 1108
Joined: 28 May 2008, 22:40
Location: Shandalar
Has thanked: 425 times
Been thanked: 153 times

Re: Java 7 and running Forge on a Mac

Postby Esquire90 » 24 Sep 2013, 20:16

Description: I selected an AI deck and a Player deck and clicked "Start."

NullPointerException | Open
Code: Select all
Forge Version:    1.4.7-r23046M
Operating System: Mac OS X 10.8.5 x86_64
Java Version:     1.7.0_40 Oracle Corporation

java.lang.NullPointerException
   at forge.deck.DeckgenUtil.getConstructedDeck(DeckgenUtil.java:117)
   at forge.gui.toolbox.special.FDeckChooser.getDeck(FDeckChooser.java:286)
   at forge.gui.toolbox.special.FDeckChooser.getPlayer(FDeckChooser.java:308)
   at forge.gui.home.sanctioned.CSubmenuConstructed.startGame(CSubmenuConstructed.java:102)
   at forge.gui.home.sanctioned.CSubmenuConstructed.access$100(CSubmenuConstructed.java:30)
   at forge.gui.home.sanctioned.CSubmenuConstructed$2.actionPerformed(CSubmenuConstructed.java:59)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
   at java.awt.Component.processMouseEvent(Component.java:6505)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
   at java.awt.Component.processEvent(Component.java:6270)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4861)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Esquire90
 
Posts: 4
Joined: 24 Sep 2013, 19:36
Has thanked: 0 time
Been thanked: 0 time

Re: Java 7 and running Forge on a Mac

Postby lasthours » 24 Sep 2013, 21:40

Bog Wraith wrote:I can verify that this works as I could not launch Forge after installing Java 7 JRE by itself. Once I also installed the JDK version of Java 7, double clicking on the forge.command file launched the game with no other issues.

Thanks again goes to spr for pointing this out to me in the Forge Beta: 08-30-2013 ver 1.4.7 thread. (Thanks Steve! :) )
Me also, works fine now so thanks. Minor issue is my pointing folder for decks to a dropbox folder. Profile needs c:\blah\dropbox and mac wants /user/blah/dropbox. Oh well, 2 .profiles it is. Small price to pay.
lasthours
 
Posts: 5
Joined: 13 Jun 2013, 06:35
Has thanked: 1 time
Been thanked: 0 time

Re: Java 7 and running Forge on a Mac

Postby PikWik » 08 Oct 2015, 00:32

i can confirm OSX 10.7.4 needs the JDK for java 7 as well as java 7 JRE.

and that the official OSX version does not work for me (immediately crashes upon opening). however, downloading the windows version and double clicking the forge-gui-desktop.jar file runs just fine. LQ set downloader and all.

i spent a good hour + trying everything. then, after giving up/taking a break, noticed i had a windows version (1.5.33) from my frantic downloading. i tried everything from loading java 8, to 7 and even earlier java 6 versions of forge, much to my dismay. did some more research on this forum and found that other folks were having issues with OSX and forge. from reading, java 7 plus the JDK seemed the right recipe for running forge. but it still crashed upon loading the OSX version. then, said what the hey and tried loading just the .jar file from the windows version and at long last it finally worked!

thanks so much for everyone's hard work with this project
PikWik
 
Posts: 17
Joined: 07 Oct 2015, 19:02
Has thanked: 16 times
Been thanked: 1 time

Re: Java 7 and running Forge on a Mac

Postby correioalternativo » 08 Oct 2015, 16:39

And Ubuntu? Weeks ago I tested the system and Forge did not run. I tried JDK and JRE, version 7 and 8 etc., but still nothing.
User avatar
correioalternativo
 
Posts: 279
Joined: 23 Jul 2012, 12:01
Has thanked: 255 times
Been thanked: 23 times

Re: Java 7 and running Forge on a Mac

Postby correioalternativo » 24 Oct 2015, 20:18

correioalternativo wrote:And Ubuntu? Weeks ago I tested the system and Forge did not run. I tried JDK and JRE, version 7 and 8 etc., but still nothing.
After reinstalling Ubuntu, Forge works :D
User avatar
correioalternativo
 
Posts: 279
Joined: 23 Jul 2012, 12:01
Has thanked: 255 times
Been thanked: 23 times


Return to Forge

Who is online

Users browsing this forum: No registered users and 202 guests


Who is online

In total there are 202 users online :: 0 registered, 0 hidden and 202 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 202 guests

Login Form