Page 278 of 323

RE: WitPTracker AE Release 1.10 Available!

Posted: Fri Dec 22, 2017 5:31 pm
by floydg
ORIGINAL: wegman58

Windows 10, Current Beta of WITP.

I moved the .exe file from jre1.8.0_151 to the Tracker folder
C:\Matrix Games\War in the Pacific Admiral's Edition\tools\WitPTracker AE Release 1.9.2

Java(TM) Platform SE binary has stopped working.

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

The CMD screen has >pause
Hit any key to continue...
Closes with nothing.

My Java folder has a _25, _31, _60 as well as the _151 versions, I took the newest one.

Copying the JRE local should have no effect -- it should be using the JRE in your path.

like this:

Code: Select all

C:\Users\fgold>where java
 C:\ProgramData\Oracle\Java\javapath\java.exe
 
 C:\Users\fgold>java -version
 java version "1.8.0_131"
 Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
 Java HotSpot(TM) Client VM (build 25.131-b11, mixed mode)
 

Remove that JRE and try again.


RE: WitPTracker AE Release 1.10 Available!

Posted: Fri Dec 22, 2017 10:01 pm
by wegman58
C:\Users\fgold>where java

I am VERY lost with this advice. I tried the 'where java' in my user file.

I think we lost the Command Line in Windows 10 - or is there a way to use the command line?

RE: WitPTracker AE Release 1.10 Available!

Posted: Fri Dec 22, 2017 11:44 pm
by floydg
I'm using Windows 10.

For me, the Command Prompt is in the Windows menu under "Windows System".

RE: WitPTracker AE Release 1.10 Available!

Posted: Sat Dec 23, 2017 6:23 am
by wegman58
C:\Users\fgold>where java

Good to know on where to find.

BUT
C:\ProgramData\Oracle\Java\javapath\java.exe

My C: doesn't show ProgramData

Is there a way to unhide?



RE: WitPTracker AE Release 1.10 Available!

Posted: Sat Dec 23, 2017 12:08 pm
by floydg
ORIGINAL: wegman58
C:\Users\fgold>where java

Good to know on where to find.

BUT
C:\ProgramData\Oracle\Java\javapath\java.exe

My C: doesn't show ProgramData

Is there a way to unhide?



I don't know what that means, but where Java is installed doesn't need to be the same on every PC.

Can you run the Command Prompt program and type "where java" and then "java -version"?

RE: WitPTracker AE Release 1.10 Available!

Posted: Sat Dec 23, 2017 1:51 pm
by wegman58
ORIGINAL: floydg

ORIGINAL: wegman58
C:\Users\fgold>where java

Good to know on where to find.

BUT
C:\ProgramData\Oracle\Java\javapath\java.exe

My C: doesn't show ProgramData

Is there a way to unhide?



I don't know what that means, but where Java is installed doesn't need to be the same on every PC.

Can you run the Command Prompt program and type "where java" and then "java -version"?

I ran the where java.

It points to a location that doesn't exist or is hidden.

It looks to be the same as yours
C:\ProgramData\Oracle\Java\Javapath\java.exe

But I don't see a ProgramData directory.

Or am I missing something?

RE: WitPTracker AE Release 1.10 Available!

Posted: Sun Dec 24, 2017 4:59 am
by Chris21wen
But I don't see a ProgramData directory.

Your correct it is hidden. Open explorer, from the menu select view\show/hide and tick hidden items.



Image

RE: WitPTracker AE Release 1.10 Available!

Posted: Sun Dec 24, 2017 11:59 am
by wegman58
Java(TM) Platform SE binary has stopped working.

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

It used to be easier to show hidden items.

I copied the jave.exe from the right place, still have the

Java(TM) Platform SE binary has stopped working.

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.


RE: WitPTracker AE Release 1.10 Available!

Posted: Sun Dec 24, 2017 12:29 pm
by floydg
ORIGINAL: wegman58
Java(TM) Platform SE binary has stopped working.

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

It used to be easier to show hidden items.

I copied the jave.exe from the right place, still have the

Java(TM) Platform SE binary has stopped working.

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.


You do not need to copy any JRE files over to the WitPTracker folder. In fact, depending on how your environment variables are set, that could be the cause of your issue.

RE: WitPTracker AE Release 1.10 Available!

Posted: Fri Dec 29, 2017 2:22 pm
by Theages
The default folder, where java8 build 151 32Bit is installed, is
"C:\Program Files (x86)\Java\jre1.8.0_151"

Therefore in the witptracker.bat the command should be (including all the "):
"C:\Program Files (x86)\Java\jre1.8.0_151\bin\java.exe" -Xms512m -Xmx768m -jar "WitPTracker.jar"

when an update for java occurs, only the build number has to be changed.
(eg: "C:\Program Files (x86)\Java\jre1.8.0_155\bin\java.exe" -Xms512m -Xmx768m -jar "WitPTracker.jar" if the new build number is 155)

RE: WitPTracker AE Release 1.10 Available!

Posted: Fri Dec 29, 2017 2:31 pm
by Theages
ORIGINAL: n01487477

Hi all -
I'm thinking of looking at some issues related to the economic chart. I also noted that there maybe an issue with R&D factories which are turned off. I'll have a look back through the thread to see if there are any other things that I may be able to fix like the air support as well. Anything else that is outstanding / important ?

Floyd had long ago begun to implement the parsing of the operations files, which led to a lot of warnings
(eg.: WARNING: Unknown row in operations file <C:\Stuff\WiTP\SAVE\aoperationsreport_411207.txt>: [SLDR Henderson, A.D. of No.8 Sqn RAAF Det bails out with WOUNDS but is RESCUED]).
Perhaps the work on that could be continued or somehow made to be done by one self (eg. using some easily editable data file)?

Is there a chance to change the program to a different language (not java)? (I know I am being unreasonable)

RE: WitPTracker AE Release 1.10 Available!

Posted: Fri Dec 29, 2017 5:12 pm
by floydg
ORIGINAL: Theages

ORIGINAL: n01487477

Hi all -
I'm thinking of looking at some issues related to the economic chart. I also noted that there maybe an issue with R&D factories which are turned off. I'll have a look back through the thread to see if there are any other things that I may be able to fix like the air support as well. Anything else that is outstanding / important ?

Floyd had long ago begun to implement the parsing of the operations files, which led to a lot of warnings
(eg.: WARNING: Unknown row in operations file <C:\Stuff\WiTP\SAVE\aoperationsreport_411207.txt>: [SLDR Henderson, A.D. of No.8 Sqn RAAF Det bails out with WOUNDS but is RESCUED]).
Perhaps the work on that could be continued or somehow made to be done by one self (eg. using some easily editable data file)?

Is there a chance to change the program to a different language (not java)? (I know I am being unreasonable)

I did add more translations for the Operations Report.

And not likely we'll change the programming language. This is a hobby thing... ;-)

Floyd

RE: WitPTracker AE Release 1.10 Available!

Posted: Mon Jan 01, 2018 1:53 am
by jgsIII
ORIGINAL: jgs

BINGO! The turn file was incorrect!

I am just starting a game as Allies and have some orders given. When is the first time I will run WitPTracker? I don't know if you start a baseline or just run after each turn is resolved and saved. Thanks :)

Doh! Spoke to soon. Corrected the turn file:

# WitPTracker AE properties file
# Directory of the game
Dir=[C:\Games\Matrix Games\War in the Pacific Admiral's Edition]
# Type of game. 0=AI, 1=PBEM
GameType=[0]
# Side you are playing. 0=Japan, 1=Allies
Side=[1]
# Password. Only needed for PBEM
Password=[abc123]
# Name of the base save file
SaveFile=[wpae002.pws]
# Mode the program will look for save files.
# 0 = just in the local folder
# 1 = just in the game folder: [Dir]/SAVE
# 2 = local and then if not found there, the game folder
SaveMode=[1]
# Text to put in the header of the main window
Header=[Tracker game Vs AI]
# Turn cycle (days per turn). 1 or 2 are supported
TurnCycle=[1]


But still throws the error:


C:\Games\Matrix Games\WitPTracker>cd "C:\Games\Matrix Games\WitPTracker"

C:\Games\Matrix Games\WitPTracker>"C:\Program Files (x86)\Java\jre1.8.0_151\bin\java.exe" -Xms384m -Xmx512m -jar "WitPTracker.jar"
ERROR: Problem starting the database. Exiting.
java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at witptracker.Database.<init>(Database.java:31)
at witptracker.Main.main(Main.java:59)

C:\Games\Matrix Games\WitPTracker>pause
Press any key to continue . . .

What else can I check please? Thanks.

RE: WitPTracker AE Release 1.10 Available!

Posted: Mon Jan 01, 2018 1:57 am
by BillBrown
Bad answer.

RE: WitPTracker AE Release 1.10 Available!

Posted: Mon Jan 01, 2018 9:47 am
by floydg
ORIGINAL: jgs

ORIGINAL: jgs

BINGO! The turn file was incorrect!

I am just starting a game as Allies and have some orders given. When is the first time I will run WitPTracker? I don't know if you start a baseline or just run after each turn is resolved and saved. Thanks :)

Doh! Spoke to soon. Corrected the turn file:

# WitPTracker AE properties file
# Directory of the game
Dir=[C:\Games\Matrix Games\War in the Pacific Admiral's Edition]
# Type of game. 0=AI, 1=PBEM
GameType=[0]
# Side you are playing. 0=Japan, 1=Allies
Side=[1]
# Password. Only needed for PBEM
Password=[abc123]
# Name of the base save file
SaveFile=[wpae002.pws]
# Mode the program will look for save files.
# 0 = just in the local folder
# 1 = just in the game folder: [Dir]/SAVE
# 2 = local and then if not found there, the game folder
SaveMode=[1]
# Text to put in the header of the main window
Header=[Tracker game Vs AI]
# Turn cycle (days per turn). 1 or 2 are supported
TurnCycle=[1]


But still throws the error:


C:\Games\Matrix Games\WitPTracker>cd "C:\Games\Matrix Games\WitPTracker"

C:\Games\Matrix Games\WitPTracker>"C:\Program Files (x86)\Java\jre1.8.0_151\bin\java.exe" -Xms384m -Xmx512m -jar "WitPTracker.jar"
ERROR: Problem starting the database. Exiting.
java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at witptracker.Database.<init>(Database.java:31)
at witptracker.Main.main(Main.java:59)

C:\Games\Matrix Games\WitPTracker>pause
Press any key to continue . . .

What else can I check please? Thanks.

How did you unpack the program? There are files in a "lib" folder that it needs. If these aren't in the proper path, it won't work.

RE: WitPTracker AE Release 1.10 Available!

Posted: Mon Jan 01, 2018 11:38 am
by wegman58
ORIGINAL: wegman58
Java(TM) Platform SE binary has stopped working.

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

It used to be easier to show hidden items.

I copied the jave.exe from the right place, still have the

Java(TM) Platform SE binary has stopped working.

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.


I still have Java start and start. I think Java is being found, I have another issue. Any ideas?

RE: WitPTracker AE Release 1.10 Available!

Posted: Mon Jan 01, 2018 11:42 am
by floydg
email me directly at witptracker@gmail.com

RE: WitPTracker AE Release 1.10 Available!

Posted: Wed Jan 03, 2018 11:21 pm
by jgsIII
ORIGINAL: floydg

ORIGINAL: jgs

ORIGINAL: jgs

BINGO! The turn file was incorrect!

I am just starting a game as Allies and have some orders given. When is the first time I will run WitPTracker? I don't know if you start a baseline or just run after each turn is resolved and saved. Thanks :)

Doh! Spoke to soon. Corrected the turn file:

# WitPTracker AE properties file
# Directory of the game
Dir=[C:\Games\Matrix Games\War in the Pacific Admiral's Edition]
# Type of game. 0=AI, 1=PBEM
GameType=[0]
# Side you are playing. 0=Japan, 1=Allies
Side=[1]
# Password. Only needed for PBEM
Password=[abc123]
# Name of the base save file
SaveFile=[wpae002.pws]
# Mode the program will look for save files.
# 0 = just in the local folder
# 1 = just in the game folder: [Dir]/SAVE
# 2 = local and then if not found there, the game folder
SaveMode=[1]
# Text to put in the header of the main window
Header=[Tracker game Vs AI]
# Turn cycle (days per turn). 1 or 2 are supported
TurnCycle=[1]


But still throws the error:


C:\Games\Matrix Games\WitPTracker>cd "C:\Games\Matrix Games\WitPTracker"

C:\Games\Matrix Games\WitPTracker>"C:\Program Files (x86)\Java\jre1.8.0_151\bin\java.exe" -Xms384m -Xmx512m -jar "WitPTracker.jar"
ERROR: Problem starting the database. Exiting.
java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at witptracker.Database.<init>(Database.java:31)
at witptracker.Main.main(Main.java:59)

C:\Games\Matrix Games\WitPTracker>pause
Press any key to continue . . .

What else can I check please? Thanks.

How did you unpack the program? There are files in a "lib" folder that it needs. If these aren't in the proper path, it won't work.

Thank you for your patient guidance. I did a WinMerge compare of my 'production' folder with a fresh download and extract and found where I was missing files. It's working beautiful now and if I haven't thanked you for all your time and efforts in development and support, let me thank you for a job well done.

RE: WitPTracker AE Release 1.10 Available!

Posted: Mon Jan 08, 2018 2:26 am
by rsallen64
I am having problems with Tracker again. I get the following message:


H:\Tracker>"C:\Program Files (x86)\Java\jre1.8.0_151\bin\java.exe" -Xms512m -Xmx768m -jar "WitPTracker.jar" nomap
WitP Tracker AE tables loaded in 16 seconds
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: H:\Tracker\pwsdll7.dll: Not enough storage is available to process this command
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.ReadScenarioTurnNumber(SaveFileReader.java:339)
at witptracker.GUIMain.ReadNewTurn(GUIMain.java:148)
at witptracker.GUIMain.actionPerformed(GUIMain.java:527)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.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)

My system has 16GB of memory. I am only in March of 1942, and I had to wipe the Tracker database before and start over again when I had problems before. I am running the latest WITP-AE beta and the latest version of Java. I ran the .exe version of Tracker for a while, and it worked fine, but then I started to get a situation where, as the turn was processing, Tracker would flash on the task bar multiple times during the turn as if something was wrong. I first switched to the .exe version because the java version just wouldn't read a turn after a while. Now, I'd like to go back, but I can't get around this message. I reinstalled Java and tried the messages and solutions listed on the Tracker home page.

Any suggestions?

RE: WitPTracker AE Release 1.10 Available!

Posted: Mon Jan 08, 2018 2:30 am
by BillBrown
Try rebooting and then open tracker with nothing else open. I have had this error come up occasionally and I think
that there is something staying in memory that is causing this problem.

You should also increase the -Xmx768m to -Xmx1024m