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

How to install OruxMapsDesktop into Windows 7 => This is how I did it..

View previous topic View next topic Go down

How to install OruxMapsDesktop into Windows 7 => This is how I did it..

Post  melo on Sat Jun 30, 2012 9:45 am

Hello, I think I wasn't the only one who had problems to run OruxMapsDesktop.jar program in Windows 7 environment.

...First I tried to run the bat-file => Just rapid flash and nothing else happened..
.. then I update the Java => No affect..
.. then I checked the system/environment paths => they were Ok..
.. then I tried to execute the OruxMapsDesktop.jar file with command prompt, which was useful, because of the following feedback:
I:\sport_data\orientation\OruxMapsDesktop>java -jar OruxMapsDesktop.jar
'java' is not recognized as an internal or external command,
operable program or batch file
.
=> it looked like something were changed between win XP and win 7..

.. Then I found this topic from the internet:
java - Running Java file in windows



.. From there I found the program called JarFix .

I runned the JarFix ... and after that I was able to run the Desktop program just with doubleclicking the OruxMapsDesktop.jar file !

=> Short instructions:
1) Update the Java into the latest version (just in case)
2) Download and run the JarFix.exe, link: JarFix
3) Run the OruxMapsDesktop with clicking the OruxMapsDesktop.jar file

Hope this helps to someone ...

- melo


Last edited by melo on Fri Jun 29, 2012 8:47 pm; edited 1 time in total (Reason for editing : typing error)

melo

Cantidad de envíos: 2
Fecha de inscripción: 2012-06-30

View user profile

Back to top Go down

Re: How to install OruxMapsDesktop into Windows 7 => This is how I did it..

Post  marco99 on Sun Jul 08, 2012 7:45 am

Hello melo,

thanks for the description. I eneterd the same problem when using oruxmapsdesktop on W7. Your description was a great help.

Is the latest version of oruxmeapsdesktop (labeled as 2.0.14 beta) working at your windows pc? I downloaded it because Orux wrote it can handle bigger files. Thisd would be of great benefit for me. However this version immediately after clicking "create map" shows the error "An error occured while generating images".

! But, this does not happen with big maps, but with maps that run without problems with earlier versions of oruxmaps desktop.

Thank you for you feedback. (There is also an own post for this problem, but neither orux nor anybody else answered .

Marco

marco99

Cantidad de envíos: 3
Fecha de inscripción: 2012-06-10

View user profile

Back to top Go down

Multilayer map creating problems detected if you use the method described above - the following seems to work properly

Post  melo on Wed Jul 25, 2012 9:23 pm

Hello, I noticed that OruxMapsDesktop.jar program doesn't work properly in all cases if you execute the program without (java compiler) options.

The original OruxMapsDesktop.bat file contains the following line:
java -Xmx512m -jar OruxMapsDesktop.jar

=> I assume that the option -Xmx512m will be missing if you just click and execute the OruxMapsDesktop.jar file.

Similar kind of problem was detected/handled in the following topic also:
http://oruxmaps.forosactivos.net/t1701-multilayer-map-creation-fails-with-blank-warning-dialog

=> there the problem was solved with replacing this option/argument from -Xmx512m to -Xmx1024m.. So, I have to execute the OruxMapsDesktop.jar file with this option somehow.

I did some testing with command prompt and I detected that my PC didn't recognize the location of the Java compiler execution files.

=> I had to add the Java folder location as a part of my system path list first which was in my case: C:\Program Files (x86)\Java\jre7\bin

Then I made the command prompt tests once again and I found that the following command line seems to work as it should:
javaw -Xmx1024m -jar OruxMapsDesktop.jar

I replaced this line into the OruxMapsDesktop.bat file .. It worked and OruxMapsDesktop window opened but it left the command prompt window open as well.

Then I created the OruxMapsDesktop.jar shortcut and I modified it like this:

Target: javaw -Xmx1024m -jar OruxMapsDesktop.jar (my PC replaced the javaw with this: "C:\Program Files (x86)\Java\jre7\bin\javaw.exe")
Start in: Location of the OruxMapsDesktop.jar file

This shortcut seems to work properly, it opens the OruxMapsDesktop window only and I have created several multilayer maps without this problem since then.

melo

Cantidad de envíos: 2
Fecha de inscripción: 2012-06-30

View user profile

Back to top Go down

Re: How to install OruxMapsDesktop into Windows 7 => This is how I did it..

Post  marco99 on Tue Jul 31, 2012 8:49 am

Thanks for detailed answer melo.

Unfortunately your command doesn't help. OruxMaps is starting. But after clicking on "create map" I immediately get the error message "An error occured while generating images" (options: jpeg format, sqlite format).

This did not occur with the same .map.tif files in older versions (e.g. version with .jar dated 11.11.2010 or 19.04.2011).

Can I give you my map and you try if this working on your pc?

Any idea why Orux is not involving himself in the conversion. I love the oruxmaps app and even bought it. It's a bit sad that he is not helping out.

Marco

marco99

Cantidad de envíos: 3
Fecha de inscripción: 2012-06-10

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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