Page 287 of 322

RE: WitPTracker AE Release 1.0

Posted: Tue Mar 05, 2019 11:33 pm
by floydg
On Windows 10, my 32-bit Java is in C:\ProgramData\Oracle\Java\javapath\java.exe
If you put that full path in the witptracker.bat file, it will be forced to pick up the 32-bit version.

You can find out where your Java is from the command prompt entering "where java".

RE: WitPTracker AE Release 1.0

Posted: Tue Mar 05, 2019 11:46 pm
by kukudas
My java is in C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe . But I can't sure it's 32-bit.
In addition how can I change bat file's full path? When I right click the bat file it doesn't show any other option like notepad but just run.

Full message when I run tracker.

C:\Users\Home\Desktop\WitPTracker AE Release 1.10>java -Xms384m -Xmx512m -jar "WitPTracker.jar"
Initializing WitP Tracker AE database.
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\Home\Desktop\WitPTracker AE Release 1.10\pwsdll7.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at JNIpws.JNIpws.<clinit>(JNIpws.java:20)
at witptracker.SaveFileReader.<init>(SaveFileReader.java:99)
at witptracker.Main.main(Main.java:141)

C:\Users\Home\Desktop\WitPTracker AE Release 1.10>pause

RE: WitPTracker AE Release 1.0

Posted: Tue Mar 05, 2019 11:52 pm
by BillBrown
ORIGINAL: kukudas

My java is in C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe . But I can't sure it's 32-bit.
In addition how can I change bat file's full path? When I right click the bat file it doesn't show any other option like notepad but just run.

Full message when I run tracker.

C:\Users\Home\Desktop\WitPTracker AE Release 1.10>java -Xms384m -Xmx512m -jar "WitPTracker.jar"
Initializing WitP Tracker AE database.
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\Home\Desktop\WitPTracker AE Release 1.10\pwsdll7.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at JNIpws.JNIpws.<clinit>(JNIpws.java:20)
at witptracker.SaveFileReader.<init>(SaveFileReader.java:99)
at witptracker.Main.main(Main.java:141)

C:\Users\Home\Desktop\WitPTracker AE Release 1.10>pause

That says you are using 64 bit Java.

When you install the 32 bit Java, put it in a separate folder somewhere outside of either
of the two program folders.

RE: WitPTracker AE Release 1.0

Posted: Tue Mar 05, 2019 11:57 pm
by kukudas
Same question again....
In floydg's link(https://www.java.com/en/download/manual.jsp) I can't find 32 bit java... Where can I get that thing?

RE: WitPTracker AE Release 1.0

Posted: Wed Mar 06, 2019 12:05 am
by floydg
In the witptracker.bat file, change the "java" to "C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe" (keep the quotes). That should force it to run the 32-bit (x86) version.

RE: WitPTracker AE Release 1.0

Posted: Wed Mar 06, 2019 3:53 am
by kukudas
ORIGINAL: floydg

In the witptracker.bat file, change the "java" to "C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe" (keep the quotes). That should force it to run the 32-bit (x86) version.

The problem is I don't know how to change the "java" to "C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe" .

RE: WitPTracker AE Release 1.0

Posted: Wed Mar 06, 2019 9:02 pm
by floydg

RE: WitPTracker AE Release 1.0

Posted: Wed Mar 06, 2019 9:19 pm
by RangerJoe
Right click on the file, then select "edit". Where something like:

java -Xms384m -Xmx512m -jar "WitPTracker.jar"
pause

is written, then change it to:

"C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe" -Xms384m -Xmx512m -jar "WitPTracker.jar
pause

At least, I just copied what I have in the file then I just changed the "java" to "C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe" and everything else is the same. You are simply telling the computer to look in the 32 bit section of programs and not the 64 bit section, if I understand things correctly.

RE: WitPTracker AE Release 1.0

Posted: Thu Mar 07, 2019 6:39 am
by kukudas

Thank you! Finally managed to run the tracker by deleting 64-bit java. Although tracker gives me another problem.

C:\Users\Home\Desktop\WitPTracker AE Release 1.10>java -Xms384m -Xmx512m -jar "WitPTracker.jar"
WitP Tracker AE tables loaded in 9 seconds
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.<init>(Unknown Source)
at java.awt.image.Raster.createPackedRaster(Unknown Source)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
at java.awt.image.BufferedImage.<init>(Unknown Source)
at witptracker.MapPanel$Map.<init>(MapPanel.java:440)
at witptracker.MapPanel.<init>(MapPanel.java:229)
at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:920)
at witptracker.GUIMain$5.run(GUIMain.java:1042)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

C:\Users\Home\Desktop\WitPTracker AE Release 1.10>pause

Looks like it is memory issue. I've read your solution but I don't sure I did it right.

"If you can't for some reason (e.g., 64-bit system), try one of these methods:
Use the C:\Windows\SysWOW64\cmd.exe command to start the witptracker.bat file. You can make a short-cut for this by making a copy of the witptracker.bat file and change the extension to something unused (e.g., witptracker.witp) and then associate the file (using the "Open With..." dialog) to open using SysWOW64\cmd.exe.
Failing that, contact us for any other methods."


Open cmd screen and typing renamed tracker gives me this message.

C:\Users\Home\Desktop\WitPTracker AE Release 1.10>WitpTracker.witp

C:\Users\Home\Desktop\WitPTracker AE Release 1.10>java -Xms384m -Xmx512m -jar "WitPTracker.jar"
WitP Tracker AE tables loaded in 9 seconds
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.<init>(Unknown Source)
at java.awt.image.Raster.createPackedRaster(Unknown Source)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
at java.awt.image.BufferedImage.<init>(Unknown Source)
at witptracker.MapPanel$Map.<init>(MapPanel.java:440)
at witptracker.MapPanel.<init>(MapPanel.java:229)
at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:920)
at witptracker.GUIMain$5.run(GUIMain.java:1042)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

HELP!!!!

RE: WitPTracker AE Release 1.0

Posted: Thu Mar 07, 2019 8:30 am
by floydg
Edit the witptracker.bat file and change the numbers after Xms and Xmx by 128 until it works. Or just add nomap at the end:

Either:

Code: Select all

 java -Xms384m -Xmx512m -jar "WitPTracker.jar"  nomap

or

Code: Select all

 java -Xms512m -Xmx640m -jar "WitPTracker.jar"



RE: WitPTracker AE Release 1.0

Posted: Thu Mar 07, 2019 11:10 am
by kukudas
ORIGINAL: floydg

Edit the witptracker.bat file and change the numbers after Xms and Xmx by 128 until it works. Or just add nomap at the end:

Either:

Code: Select all

 java -Xms384m -Xmx512m -jar "WitPTracker.jar"  nomap

or

Code: Select all

 java -Xms512m -Xmx640m -jar "WitPTracker.jar"



Great thanks!!!!!!!! Finally!!!!!!!!!! IT WORKS!!!!!!!!!!!!!!

RE: WitPTracker AE Release 1.0

Posted: Fri Apr 05, 2019 7:05 pm
by Knavey
Probably not being updated anymore, but a logic check on "you forgot to upload the last turn dummy" would be nice.

Thanks for a great program, once I got it running, I feel lost without it now.

RE: WitPTracker AE Release 1.0

Posted: Fri Apr 05, 2019 7:07 pm
by floydg
ORIGINAL: Knavey

Probably not being updated anymore, but a logic check on "you forgot to upload the last turn dummy" would be nice.

Thanks for a great program, once I got it running, I feel lost without it now.

Yeah, I haven't updated in a while, but I have been tinkering with the code. I suppose I could add a "skipped turn" warning.

RE: WitPTracker AE Release 1.0

Posted: Tue Apr 09, 2019 12:26 pm
by larryfulkerson
What did I do wrong? How do I fix this? Is it going to be a problem the rest of the game?

Image

RE: WitPTracker AE Release 1.0

Posted: Tue Apr 09, 2019 1:50 pm
by floydg
Larry -

It looks like the pilot ID could be larger than expected. So this pilot (and others with larger-than-expected IDs) won't be stored in the database. I'll need to think of some way to fix that...

Floyd

RE: WitPTracker AE Release 1.0

Posted: Fri May 10, 2019 1:54 pm
by AleRonin
Amazing tool, thanks for your effort Floydg [&o]

RE: WitPTracker AE Release 1.0

Posted: Thu May 16, 2019 4:36 pm
by RogerJNeilson
after years of working flawlessly suddenly this?


Any advice appreciated.

Image

RE: WitPTracker AE Release 1.0

Posted: Thu May 16, 2019 5:00 pm
by btd64
Looks like a storage thing. I don't remember how to fix it. Look on the tracker website....GP

RE: WitPTracker AE Release 1.0

Posted: Thu May 16, 2019 5:48 pm
by RogerJNeilson
Ok ignore, I managed to get it to work, though not sure how....


Roger

RE: WitPTracker AE Release 1.0

Posted: Thu May 16, 2019 5:53 pm
by BillBrown
It looks like you might have tried to run that tracker twice, it will not let you do that.