Page 208 of 323

RE: WitPTracker AE Release 1.9.2 Available!

Posted: Fri Jan 11, 2013 9:26 pm
by BigDuke66
You mean starting the tracker without the map? Use WitPTrackerNoMap.bat for that.

RE: WitPTracker AE Release 1.9.2 Available!

Posted: Fri Jan 11, 2013 10:55 pm
by floydg
And then we see things like this:
http://www.kb.cert.org/vuls/id/625617

You really want us to upgrade to JRE 1.7?
[;)]

RE: WitPTracker AE Release 1.9.2 Available!

Posted: Sat Jan 12, 2013 1:27 am
by BigDuke66
Was there ever a save java version?

RE: WitPTracker AE Release 1.9.2 Available!

Posted: Sat Jan 12, 2013 1:58 am
by Reg
ORIGINAL: floydg

And then we see things like this:
http://www.kb.cert.org/vuls/id/625617

You really want us to upgrade to JRE 1.7?
[;)]

Java 7 Update 10 and earlier...


RE: WitPTracker AE Release 1.9.2 Available!

Posted: Sat Jan 12, 2013 3:04 am
by witpqs
ORIGINAL: Reg
ORIGINAL: floydg

And then we see things like this:
http://www.kb.cert.org/vuls/id/625617

You really want us to upgrade to JRE 1.7?
[;)]

Java 7 Update 10 and earlier...

It looks like 7-10 is the latest, though. [:(] Hope they fix the leak quickly.

RE: WitPTracker AE Release 1.9.2 Available!

Posted: Mon Jan 14, 2013 7:16 pm
by sanderz
version 7-11 is now available

i had forgot that java 6 was needed and uninstalled it - so tracker no longer works

i didn't understand the tech talk on the previous page but assume i will need to reinstall (the unsafe) version 6 to get things to work again?

will tracker eventually work with java 7 or is this a complete no no?

thanks

RE: WitPTracker AE Release 1.9.2 Available!

Posted: Mon Jan 14, 2013 7:37 pm
by witpqs
ORIGINAL: sanderz

version 7-11 is now available

i had forgot that java 6 was needed and uninstalled it - so tracker no longer works

i didn't understand the tech talk on the previous page but assume i will need to reinstall (the unsafe) version 6 to get things to work again?

will tracker eventually work with java 7 or is this a complete no no?

thanks
The way that you install it, Java 7 will be the default. Java 6 will be called when you specifically set up a .bat file that calls it. Mine, for example, is

"C:\Program Files (x86)\Java\jre6\bin\java" -Xms512m -Xmx768m -jar "WitPTracker.jar" nomap

Notice how it specifies Java 6. Anything else on my system that I allow to run Java runs Java 7.

RE: WitPTracker AE Release 1.9.2 Available!

Posted: Mon Jan 14, 2013 8:14 pm
by Lokasenna
You will definitely need to edit the batch file to point to the correct .exe. witpqs has provided a great example. I know I had to change which .exe my batch file pointed to on my laptop because of a 32-bit vs. 64-bit difference, but I forget what that looks like so can't provide that example at the moment.

RE: WitPTracker AE Release 1.9.2 Available!

Posted: Tue Jan 15, 2013 6:05 am
by sanderz
thanks for the comments

was ok running it previously (same bat file as witpqs) - was more concerned about the security aspects of java 6 and assume that virus could call it if its on your system even if Java7 was the default

if i reinstall Java6 do you know if that then becomes the default java version (on the basis it was the last version installed) or will Java 7 always be the default?

thanks

RE: WitPTracker AE Release 1.9.2 Available!

Posted: Tue Jan 15, 2013 10:48 am
by n01487477
ORIGINAL: sanderz

thanks for the comments

was ok running it previously (same bat file as witpqs) - was more concerned about the security aspects of java 6 and assume that virus could call it if its on your system even if Java7 was the default

if i reinstall Java6 do you know if that then becomes the default java version (on the basis it was the last version installed) or will Java 7 always be the default?

thanks
You can always check your default java install by going here http://www.java.com/en/download/testjava.jsp

Or change your environment variables in system properties so that the path is explicit to where java home is.

E.g.
JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_23 [OR the exact JDK path where java is installed]
PATH=%JAVA_HOME%\bin;

[edit] You can also look under the Java control panel and see "User" and "System" settings. And change them here too.

Image

RE: WitPTracker AE Release 1.9.2 Available!

Posted: Tue Jan 15, 2013 11:44 am
by witpqs
ORIGINAL: sanderz

thanks for the comments

was ok running it previously (same bat file as witpqs) - was more concerned about the security aspects of java 6 and assume that virus could call it if its on your system even if Java7 was the default

if i reinstall Java6 do you know if that then becomes the default java version (on the basis it was the last version installed) or will Java 7 always be the default?

thanks
The link that Damian provided is one that you should bookmark and keep.

Second, you can install Java 6 and then install Java 7. Java 7 should then be the default, just check it with that link.

Many browsers are now better about confining access to plug-ins like Java. I use Chrome, and by default Chrome will not run Java for a web page. Instead, it will ask you if you want to run Java for that site, and just this time or always? And IIRC access for a given web site is automatically shut off if you son't use it for a certaint period of time, after which Chrome will ask you again, just to be safer. This link to a page in Google's Chrome help describes how to manage plug-ins and what web sites you allow to run them http://support.google.com/chrome/bin/answer.py?hl=en-GB&answer=142064

Last, just for those who don't realize it, Java and Javascript are two different things. The naming coincidence is unfortunate, but they have nothing to do with each other. If you wish to manage Javascript you have to do that through other settings (it's not even a plug-in, support is just built in to Chrome and other browsers). Many, many web sites run Javascript and it does not have the same security issues as Java. Lest I be misunderstood, any software can have security issues, they are just two different things done two different ways.

RE: WitPTracker AE Release 1.9.2 Available!

Posted: Tue Jan 15, 2013 12:37 pm
by sanderz
thanks both - that has sorted me out and given me a much better idea of whats going on

RE: WitPTracker AE Release 1.9.2 Available!

Posted: Thu Jan 17, 2013 8:13 am
by MAARTENR
Can someone please help me with java thing who talks Dutch?

Multiple games stored under the one installation

Posted: Fri Jan 18, 2013 12:20 pm
by michaelm75au
My current set-up to handle multiple games under tracker:
I have tracker installed in one directory ("C:\Matrix Games\War in the Pacific Admiral's Edition\tools\WitPTracker AE Release 1.9.2").
I want to keep several games going under tracker.
Rather than install multiple copies of the code, I have a better method that allows me to keep the one install but keep the individual games separate. This also allows me to make updates to Tracker itself in only one place.
--
1. Under the install directory, create a game directory (called TestCP in my case).
2. You copy witptracker.properties and WitPTracker.bat to the directory.
3. You edit the properties file with "SaveMode=[2]" so that tracker will read game files from directory.
4. You edit the tracker BAT file so that it looks like
java -Xms512m -Xmx640m -Djava.library.path=".." -jar "..\WitPTracker.jar". The '-Djava.library.path=".."' tells java to look in the upper directory above "TestCP" for the pwsdll.dll file.
'"..\WitPTracker.jar"' tells java to look in the upper directory for the program file.
5. Copy the save for your game to this directory.
6. Run the tracker BAT file from this game directory and load the turn as required.
To add other games, create a directory as in (1), and copy the witptracker.properties and WitPTracker.bat from one game directory to another. The BAT is set up to just use the upper directory without any absolute paths. Then add the first save, edit the local properties, and run the bat file to start a new DB.

RE: Multiple games stored under the one installation

Posted: Wed Jan 23, 2013 7:31 am
by Chris21wen
Help needed understanding the global LCU production data set particularly the significance of the PP chart.

RE: Multiple games stored under the one installation

Posted: Wed Jan 23, 2013 11:56 am
by Cpt Sherwood
Would it be possible to include the base of arrival for LCUs and air units that are delayed?

RE: WitPTracker AE Release 1.9.2 Available!

Posted: Wed Jan 23, 2013 2:59 pm
by Missouri_Rebel
I can't get this to work. I'm using Java 1.6.38 32 bit on a windows 7 64 bit system. My laptop has the same setup but it works on it.

I get an error that says

'java' is not recognized as an internal or external commans, operable program or batch file.

Can someone help please?

EDIT: FIXED

but now combat reporter doesn't work. Sigh

RE: WitPTracker AE Release 1.9.2 Available!

Posted: Wed Jan 23, 2013 3:47 pm
by Cpt Sherwood
Try replacing Java with "C:\Program Files (x86)\Java\jre6\bin\java.exe"
in both of the bat files.

RE: WitPTracker AE Release 1.9.2 Available!

Posted: Wed Jan 23, 2013 6:08 pm
by Missouri_Rebel
How exactly do you change the bat files? Even though I got this working I am having trouble with Combat Reporter and some of the suggestions were changing the bat files.

Never says how though.
Thanks

RE: WitPTracker AE Release 1.9.2 Available!

Posted: Wed Jan 23, 2013 6:20 pm
by Cpt Sherwood
Right click on the bat file and then select edit.