OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>

Join the forum, it's quick and easy

OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>
OruxMaps
Would you like to react to this message? Create an account in a few clicks or log in to continue.

installing on macbook pro

3 posters

Go down

installing on macbook pro Empty installing on macbook pro

Post  John H Fri Oct 28, 2011 5:40 am

newbie here:

I'm struggling getting the desktop version to run on a macbook pro (O/s X). I've downloaded the zip file and drug the file into the applications folder. Using terminal, I entered the chmod +x oruxmapsdesktop.command entry.

Subsequently executing the oruxmapsdesktop.command, I get an error message that reads that it is unable to locate the oruxmapsdesktop.jar file. All the files are in the folder OruxMapsDesktop in the applications folder.

FYI, I changed the .sh file extension to .command. For whatever reason, If I keep the .sh file extension and try to run it, it just opens the oruxmapsdesktop.sh file in the text editor, by renaming it to .command it at least tries to execute.

I did get it to execute - I had to edit the oruxmapsdesktop.command file to point to the directory. i.e. I edited the file to read

"java -Xmx1024m -jar /Applications/OruxMapsDesktop-1/OruxMapsDesktop.jar" .


Now the error is that the program can't use the ozi20rux.txt file or the datums.txt file. They are both in the same folder as the oruxmapsdesktop.jar file

This is the error report:

Last login: Fri Oct 28 11:13:03 on ttys000
Linda-Hightowers-MacBook-Pro:~ johnhightower$ /Applications/OruxMapsDesktop-1/OruxMapsDesktop.command ; exit;
ERROR--->READING Ozi2Orux.txt!!!!!!
ERROR--->READING DATUMS.TXT!!!!!!
Oct 28, 2011 11:39:38 AM org.jdesktop.application.Application$1 run
SEVERE: Application class oruxmapsdesktop.OruxMapsDesktopApp failed to launch
java.lang.ArrayIndexOutOfBoundsException: 0
at oruxmapsdesktop.JPanelConvertor.initComponents2(JPanelConvertor.java:91)
at oruxmapsdesktop.JPanelConvertor.<init>(JPanelConvertor.java:52)
at oruxmapsdesktop.OruxMapsDesktopView.initComponents(OruxMapsDesktopView.java:130)
at oruxmapsdesktop.OruxMapsDesktopView.<init>(OruxMapsDesktopView.java:34)
at oruxmapsdesktop.OruxMapsDesktopApp.startup(OruxMapsDesktopApp.java:282)
at org.jdesktop.application.Application$1.run(Application.java:171)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:677)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:638)
at java.awt.EventQueue$1.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:647)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.Error: Application class oruxmapsdesktop.OruxMapsDesktopApp failed to launch
at org.jdesktop.application.Application$1.run(Application.java:177)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:677)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:638)
at java.awt.EventQueue$1.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:647)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at oruxmapsdesktop.JPanelConvertor.initComponents2(JPanelConvertor.java:91)
at oruxmapsdesktop.JPanelConvertor.<init>(JPanelConvertor.java:52)
at oruxmapsdesktop.OruxMapsDesktopView.initComponents(OruxMapsDesktopView.java:130)
at oruxmapsdesktop.OruxMapsDesktopView.<init>(OruxMapsDesktopView.java:34)
at oruxmapsdesktop.OruxMapsDesktopApp.startup(OruxMapsDesktopApp.java:282)
at org.jdesktop.application.Application$1.run(Application.java:171)
... 14 more
logout

[Process completed]





john

John H

Cantidad de envíos : 3
Fecha de inscripción : 2011-10-28

Back to top Go down

installing on macbook pro Empty Re: installing on macbook pro

Post  orux Fri Oct 28, 2011 6:41 pm

John H wrote:newbie here:

I'm struggling getting the desktop version to run on a macbook pro (O/s X). I've downloaded the zip file and drug the file into the applications folder. Using terminal, I entered the chmod +x oruxmapsdesktop.command entry.

Subsequently executing the oruxmapsdesktop.command, I get an error message that reads that it is unable to locate the oruxmapsdesktop.jar file. All the files are in the folder OruxMapsDesktop in the applications folder.

FYI, I changed the .sh file extension to .command. For whatever reason, If I keep the .sh file extension and try to run it, it just opens the oruxmapsdesktop.sh file in the text editor, by renaming it to .command it at least tries to execute.

I did get it to execute - I had to edit the oruxmapsdesktop.command file to point to the directory. i.e. I edited the file to read

"java -Xmx1024m -jar /Applications/OruxMapsDesktop-1/OruxMapsDesktop.jar" .


Now the error is that the program can't use the ozi20rux.txt file or the datums.txt file. They are both in the same folder as the oruxmapsdesktop.jar file


john

Hi, John;

I do not know Mac very well. Try running the .jar file from the directory where is the .jar.

Open a cmd window,
Navigate to OruxMapsDesktop folder
Then: java -Xmx1024m -jar OruxMapsDesktop.jar
installing on macbook pro Pantallazojosejosedeskt



orux




orux
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

Back to top Go down

installing on macbook pro Empty Re: installing on macbook pro

Post  John H Fri Oct 28, 2011 6:48 pm

Thanks for answering, this technique results in the same error.

John


John H

Cantidad de envíos : 3
Fecha de inscripción : 2011-10-28

Back to top Go down

installing on macbook pro Empty Re: installing on macbook pro

Post  tiwi Mon Oct 31, 2011 8:25 pm

John H wrote:Thanks for answering, this technique results in the same error.

John


Hi John,

OMD worked on my Macbook (10.7), I just downloaded it to my Downloads folder, opened a Terminal, did "cd DOwnloads/OruxMapsDesktop" and the executed the .sh script. Maybe the application does not have appropriate rights in /Appliaction - in installation is usually not needed when you just have jar file.


regards
tiwi

tiwi

Cantidad de envíos : 1
Fecha de inscripción : 2011-10-31

Back to top Go down

installing on macbook pro Empty Re: installing on macbook pro

Post  John H Mon Oct 31, 2011 9:51 pm

That seemed to work. Thank you.

john

John H

Cantidad de envíos : 3
Fecha de inscripción : 2011-10-28

Back to top Go down

installing on macbook pro Empty Re: installing on macbook pro

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum