You are here: Wiki>AGGeom Web>JavaView>JVFAQ (27 Apr 2017, ezimmermann)Edit

JVFAQ

Here you can find issues, that might appear and proposals to solve them.

Installation Problems

Q: Under Mac OSX Lion (10.7.x): On JavaView launch several error messages are printed in the console of the type
java[31185] <Error>: CGContextGetCTM: invalid context 0x0
java[31185] <Error>: CGContextSetBaseCTM: invalid context 0x0
java[31185] <Error>: CGContextGetCTM: invalid context 0x0
java[31185] <Error>: CGContextSetBaseCTM: invalid context 0x0

A: This bug seems to appear on OSX Lion and newer, but apparently it does not have any serious impact, so you may ignore it.

Q: I have installed Eclipse and Java but every time I try to run Eclipse it says "A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run eclipse. No Java virtual machine was found after searching the following locations: C:\eclipse\jre\bin\javaw.exe. javaw.exe in your current path"

A: Usually the Java installation automatically sets the Java installation path in a global environment variable. What is most likely is that you have downloaded Eclipse and Java for different architectures, e.g. Eclipse for 64bit Windows and Java for 32bit Windows. Under Windows 7, 64bit software is typically installed under Program Files whereas 32bit software is installed under Program Files (x86). Make sure that your versions are for the same architecture, i.e. if Java 64bit is installed then use Eclipse 64bit and vice versa. If Java 32bit is installed then use Eclipse 32bit and vice versa. Note that you can have both versions installed at the same time, but the default Java runtime environment is probably set to only one of them.

Comments

 
Topic revision: r2 - 27 Apr 2017, ezimmermann
 
  • Printable version of this topic (p) Printable version of this topic (p)