Can not start up Geogebra on Mac

赵培海 shared this problem 4 years ago
New

Since i update my geogebra version to 5.0.238 on my mac, i can not start up it normally. And i find this message:


JavaAppLauncher(1324) deny file-read-data /Library/Preferences/com.apple.java.util.prefs.plist


MOS: Yosemite 10.10.5

Comments (19)

photo
1

Is this from the Mac App Store, or the Portable version?

photo
1

From Mac App Store~

photo
1

5.0.240.0 is in the Mac App Store now, does that work?

photo
1

no, it has the same problem

photo
1

Does the Portable version work?

https://www.geogebra.org/ma...

photo
photo
1

I seem to be having the same or at least a similar problem. Somewhere around version 5.0.238, my Geogebra no longer would open and would just hang at the splash screen. To get rid of the screen, I had to -9 kill the process. This actually happened right as I was working on a talk for which I needed Geogebra, so needless to say, I was not pleased. Fortunately, an older version which I had kept around (5.0.198) turned out to work just fine. Today, Geogebra stopped working again. As it so happened, I had left Geogebra open overnight and the program had somehow been updated to 2.0.141. Downgrading to the older version got me back into business.

I suspect that my changing the (3d) settings of Geogebra may have something to do with my problems. I used to be able to troubleshoot issues like this, but I cannot seem to figure out where the settings are stored for the newer Geogebra versions or how to run Geogebra from the command line. In other words, any help is appreciated. It does not seem to matter whether I download Geogebra from the app store or from geogebra.org.

Eisso Atzema

photo
1

Ok, here is a bit of follow up on my earlier comment. I did manage to run Geogebra from the command line and here is what I get running version 5.0.247:


2016-06-12 12:24:11.632 java[2248:115439] ApplePersistence=NO


12:24:12.174 INFO: org.geogebra.desktop.i.a.b[-1]: GeoGebra 5.0.247.0 11 June 2016 Java 1.8.0_91-64bit


12:24:12.175 DEBUG: org.geogebra.desktop.i.a.<init>[-1]: isApplet=false runningFromJar=true appletImpl=null


12:24:12.175 DEBUG: org.geogebra.desktop.i.a.aw[-1]: Setting up logging


12:24:12.186 DEBUG: org.geogebra.desktop.i.a.aw[-1]: Logging is redirected to /var/folders/gq/nxytx34n54n9bcbh15nxtky00000gn/T/GeoGebraLog_kpcimwjkrc.txt

As for the folder referenced, all it contains is:

===start of snippet===

Jun 12, 2016 12:24:13 PM

STDOUT: DEBUG: org.geogebra.common.m.x.K[-1]: Number of registered views = 1

* class org.geogebra.desktop.geogebra3D.b.b

Jun 12, 2016 12:24:13 PM

STDOUT: DEBUG: org.geogebra.desktop.i.a.aM[-1]: Waiting for the initialization: 0

Jun 12, 2016 12:24:13 PM

STDOUT: DEBUG: org.geogebra.desktop.i.a$a.run[-1]: Thread[compute,5,main] running

Jun 12, 2016 12:24:13 PM

STDOUT: DEBUG: org.geogebra.common.b.c.a.a[-1]: SingularWS connection disabled by command line option

Jun 12, 2016 12:24:13 PM

STDOUT: INFO: org.geogebra.common.n.f.a[-1]: No SingularWS is available at http://singularws.idm.jku.at/ (yet)

Jun 12, 2016 12:24:13 PM

STDOUT: DEBUG: org.geogebra.common.i.e.a[-1]: CAS support: true

Jun 12, 2016 12:24:13 PM

STDOUT: DEBUG: org.geogebra.common.n.b.i.a[-1]: Unsupported keyboard locale: null

Jun 12, 2016 12:24:13 PM

STDERR: ERROR: org.geogebra.common.h.a.d.<init>[-1]: ******************************************************************************

Jun 12, 2016 12:24:13 PM

STDERR: ERROR: org.geogebra.common.h.a.d.<init>[-1]: ******************* 3D View being initialized ********************************

Jun 12, 2016 12:24:13 PM

STDERR: ERROR: org.geogebra.common.h.a.d.<init>[-1]: ******************************************************************************

Jun 12, 2016 12:24:13 PM

STDOUT: DEBUG: org.geogebra.common.h.a.d.R[-1]: create gl renderer

Jun 12, 2016 12:24:13 PM


STDOUT: DEBUG: org.geogebra.desktop.geogebra3D.euclidian3D.c.ab[-1]: XXXXXXXXXXXXXXX mac osx

====end of snippet===

Clearly, org.geogebra.desktop.geogebra3D.euclidian3D (when are you guys going to fix the misspelling? Euclidian is not a word!) is the culprit. The corresponding lines for version 5.0.198 read:

===start snippet====

12:21:59.972 DEBUG: org.geogebra.desktop.geogebra3D.euclidian3D.opengl.i.a[-1]: Init on Thread[AWT-EventQueue-0,6,main]

Chosen GLCapabilities: GLCaps[rgba 8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/1/4, sample-ext default, dbl, mono , hw, GLProfile[GL2/GL2.hw], offscr[fbo]]

double buffered: true

stereo: false

stencil: 1

INIT GL IS: jogamp.opengl.gl4.GL4bcImpl

GL_VENDOR: Intel Inc.

GL_RENDERER: Intel(R) Iris(TM) Graphics 6100

12:21:59.972 DEBUG: org.geogebra.desktop.geogebra3D.euclidian3D.opengl.j.init[-1]: ==== GL version is 2.1 INTEL-10.14.66 which means GL>=2


12:21:59.975 DEBUG: org.geogebra.desktop.geogebra3D.euclidian3D.opengl.i.a[-1]: ============== Renderer with shaders created (shaders checked ok)

====end snippet====

photo
1

Does the Portable version work?

https://www.geogebra.org/ma...

photo
1

No, the log file that I posted is for the portable version (which as of this morning was up to 5.0.247). At some point I tried the version in the app store (which was version 5.0.241 as of this morning), but that one did not work either. I do not have a log file for that attempt, though.


Eisso

photo
1

Hi,


Could you please send us your osx configuration details (osx version and gpu)? Thanks!

You may also check if all is up to date.

Cheers,

Mathieu

photo
1

Hi,


here are my system details:


OS X El Capitan Version 10.11.5MacBook Pro (Retina, 13-inch, Early 2015)

Processor: 2.7 GHz Intel core i5

Memory 8 GB 1867 MHz DDR3

Graphics: Intel Iris Graphics 6100 1536 MB


As far as I know everything is up to date (El Capitan: up to date; Java: version 8, Update 91). The error log of version 2.0.198 that I included in my earlier post also shows how Java reads some of that information.


Thanks,

Eisso

photo
1

Hi,

It has been five days since I posted my system information on the GeoGebra Forum. Any ideas yet as to what might be the problem? I would be happy to do some testing, but I am not sure what tools to use beyond basic logging. It is not all that urgent, as the older version works fine and so does the web version (in fact, the web version seems to be a little bit more responsive in 3d than the java version). I just would think you guys might be interested in getting to the heart of this issue. I am sure I am not the only one experiencing this problem.

Best,

Eisso 

On Sun, Jun 12, 2016 at 5:25 PM, GeoGebra Support <help@geogebra.org> wrote:

photo
1

Hi All,


I still cannot run any version of Geogebra beyond version 2.0.198 and still no clue what is going on. I did find one thing that might be of interest. When running version 2.0.198 from the command line, the output says (among many other things) -runningfromjar=false. For the newer (portable) versions it is -runningfromjar=true. I take that to mean that in the first case geogebra uses the JRE that comes with the program and in the second the JRE on my computer. In fact, in the second case I do get an error message generated by my computer's java:


Log started: Sat, 13 Aug 2016 13:01:39 -0400

Java Plug-in 11.101.2.13

Using JRE version

1.8.0_101-b13 Java HotSpot(TM) 64-Bit Server VM

basic: No valid JFX runtime at [/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java]

basic: No valid JFX runtime at [/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java]

basic: refresh for user JREs

basic: No valid JFX runtime at [/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java]

basic: No valid JFX runtime at [/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java]

temp: Table model adding jre: JREInfo for index 1:

platform is: 1.8

product is: 1.8.0_101

location is: http://java.sun.com/product...

path is: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java

args is: -Ddeployment.trace=true -Ddeployment.trace.level=all

native platform is: Mac OS X, x86_64 [ x86_64, 64bit ]

JavaFX runtime is: JavaFX 8.0.101 found at /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/

enabled is: true

registered is: true

system is: false


This seems odd, as I thought the portable versions were supposed to use their own java. I have not tried any version from the Mac Store, but do those even come with embedded java?


thanks,

Eisso

photo
1

Sorry, still no ideas. Please use the App & Exam version:


https://www.geogebra.org/ma...

photo
1

That's fine, even though I much prefer a stand-alone version of GeoGebra plus that the web version seems a tad clunky (the buttons take up too much space and having the icon descriptions show up in the canvas drives me crazy). Also, I quite extensively use Geogebra's export to Tikz capability, which the web version does not appear to have. Furthermore, some information about how to change the javascript options in GeogebraExam.html so that it comes up with the settings that I want (for one thing: no exam mode) would be great. Anyway, since 2.0.198 still works, I am not too concerned about all this, even though I would prefer to be able to keep my software up-to-date.


Finally, I noticed that this thread was brought up in a discussion on the developer site in connection with a change that was made in 2.0.238. Matthieu B. seemed to think that that change might cause GeoGebra to hang for some people and suggested a potential fix. Well, I know this is not how things are done, but I would be happy to serve as a guinea pig and try out any potential fix. At this point I just want to know what the problem is, even though it might not be possible to fix it.

photo
1

Hi All,


I am pretty sure I have located my problem. After properly uninstalling and reinstalling the MacStore version of Geogebra (which I might not have done correctly earlier on) everything worked fine again... up to a point. As I always do, I started changing the settings and everything was still fine until I changed the settings in the 3D view. Specifically, I really really do not want to show up the 3D Algebra window, so I closed it, saved the settings and exited Geogebra to see if the settings indeed had changed. However, you guessed it, the program would hang again! Reinstalling Geogebra through the MacStore solved the problem. To make sure that this was actually was going on, I repeated the process with the exact same result both times.


My guess is that at some point around version 2.0.253 having the 3D settings set to AlgebraShow=false became a problem causing the program to hang. As I had changed to this setting in my Geogebra well before that, I could therefore no longer start Geogebra.


Remains the issue that I should be able to reset to default settings from the command line (according to the documentation there is a flag --resetSettings to do so) with presumably the same result. However, I tried this on both the portable version and the MacStore version, but in both cases I got an error message about null pointers and my Geogebra still would not run. Any explanation here?


Anyway, not sure where the settings are stored, but clearly uninstalling through the MacStore removes these settings. I would be curious to know what to do to remove these settings for the portable version. Just deleting the app does not seem to do it.


Thanks,

Eisso

photo
1

Same problem as Eisso... How do I perform a proper uninstall?


Tnx,

John

photo
1

I found I had to delete the entire ~/Library/Containers/org.geogebra5.mac

photo
photo
1

are you running it as an adminisrator? macs usually dont like unverified software. try control-clicking on it and going to File > Get Info click the lock icon IL_LockSysPrefs_osx to unlock it, then enter an administrator name and password. choose your username from the list, and change it to Read & Write

© 2020 International GeoGebra Institute