Idylls of the gorn krishub1 vs. geofflambert

Post descriptions of your brilliant victories and unfortunate defeats here.

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Idylls of the gorn

Post by geofflambert »

Couldn't even get to first base. Here's what I got. Any ideas?

Image
Attachments
trackererror.jpg
trackererror.jpg (130.93 KiB) Viewed 351 times

User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: Idylls of the gorn

Post by witpqs »

Your command line in your Tracker.bat file appears to be calling 'java' instead of looking for the right version of Java 6. Back to school!

Getting 32-bit Java 6 Installed for Tracker

From the Oracle web site:
"All Java 6 releases up to and including 6u45 have been moved to the Java Archive on the Oracle Technology Network, where they will remain available but not receive further updates."

I looked through the web site as Oracle said, and found it at this link:
http://www.oracle.com/technetwork/java/ ... 45-oth-JPR
I am pretty sure it is this installation file (see screenshot at bottom of post):

(jpg file "Java Archive Downloads - Java SE 6_2014-02-10_15-48-01.jpg")

Note: If Oracle rearranges things then you might have to look around to find the right file!

First, get Tracker installed per the Tracker instructions. These instruction assume that you already have Tracker installed.

As far as installation goes, Java 6 does NOT need to be formally installed (by formally installed I mean entered in the Windows Registry and so on). In fact, if you want a more recent version of Java to be installed on your system, then Java 6 must not be formally installed. What you do have to do is have Java 6 present in a folder, and have the .bat file for your game's Tracker to point to Java 6.

Here is the contents of one of my own Tracker .bat files:
"C:\Program Files (x86)\Java\jre6\bin\java" -Xms512m -Xmx768m -jar "WitPTracker.jar" nomap
pause

Notice that it does not simply call
java

Instead it calls
"C:\Program Files (x86)\Java\jre6\bin\java"

You see that it specifies exactly where to find the Java 6 executable.

But back to 'how to get Java 6 onto your system'?! One note is this - if you have more recent versions of Java installed, they will occasionally (when they are updated) look for old/obsolete/dangerously insecure versions of Java - and remove them! Because of that, it pays to make a copy of the whole Java 6 folder somewhere else on your hard drive. If you do that, and an update removes Java 6, then you will be able to just copy it back. Or you can just use it from the the copy location (see below).


Basically it works like this. For simplicity I'm explaining it starting from when you have 'no' Java installed. If you already have a more recent version of Java installed, the easiest way to proceed is to uninstall it first, then follow this procedure. You would reinstall your newer version of Java in step 8 of the following procedure.
1) Install Java 6.
2) Go to the Java folder (inside you will see sub-folders for Java 6 and/or Java 7 and/or Java 8 and so on). Most likely this will be C:\Program Files (x86)\Java.
3) Select the Java 6 folder. Most likely this will be jre6.
4) Type Control-C to copy it (which will copy everything in it, all the way down).
5) Navigate back up to the top level of your C: drive.
6) Type Control-V to paste the copy of the Java 6 folder.
7) Rename the copy folder to "jre6 - Tracker" so that when you look at it a year later you will instantly realize what it is.
8) Install Java 7 (or 8, etc.). Or, if you want no Java at all to be formally installed on your system, just run the uninstall for Java 6. That uninstall will not find the copy that you made.
9) Point your Tracker .bat files to specifically find Java 6. See separate section below.

The key part is that when you install Java 7 (or 8, etc.), it used to leave all the Java 6 files on your disk, but sometimes it will actually remove Java 6. But even if a newer Java leaves Java 6 there, all the 'default pointers' so to speak, now point to Java 7 (or 8, etc.). When Java wants to update, it will be Java 7 (or 8, etc.) that gets updated (there are no more updates for Java 6 now anyway). When something wants 'Java', it will get Java 7 (or 8, etc.). Only things that specifically look for your Java 6 folder (like the Tracker .bat files you modify) will find Java 6.

Now you must modify your .bat file that you are using to run Tracker. If you followed the steps above, you have Java 6 in two locations: one is in Windows Programs area, the other is a second copy in the top level of your C: drive (unless you chose to put that someplace else). By default the .bat file looks for Java 6 like this (I have removed the rest of the command line for clarity).
java
You are going to change that to look like this:
"C:\Program Files (x86)\Java\jre6\bin\java"
Or to look like this:
"C:\jre6 - Tracker\bin\java"

So now your entire .bat file will look something like this. (This is one of mine, you might have some different switches or options.)
"C:\Program Files (x86)\Java\jre6\bin\java" -Xms512m -Xmx768m -jar "WitPTracker.jar" nomap
pause
Or like this.
"C:\jre6 - Tracker\bin\java" -Xms512m -Xmx768m -jar "WitPTracker.jar" nomap
pause
Either one will work, because you have two copies of Java 6, and you can point to either one. Why have two copies? In case a helpful update from Oracle deletes one of them.

Because uploaded images usually appear at the end of a forum post, here is the screenshot showing the Oracle web site where I found Java 6.

Image
Attachments
JavaArchi..154801.jpg
JavaArchi..154801.jpg (200.32 KiB) Viewed 351 times
User avatar
EHansen
Posts: 360
Joined: Fri Dec 06, 2013 1:31 am

RE: Idylls of the gorn

Post by EHansen »

I think he has the right java version running, it loaded the data files. But I think he has the wrong dll file in the tracker directory.
User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Idylls of the gorn

Post by geofflambert »

I have both Java 6 and 7. I forget how I did it before, should I put 6 in the Tracker folder?

I'm still looking at your post witpqs, I'm working from it. I'll be slow though.

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Idylls of the gorn

Post by geofflambert »

excuse me, I thought I had 6, maybe I hid it somewhere. will get it.

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Idylls of the gorn

Post by geofflambert »

Ok, I'm here. Where do I find the command line to change?

Image
Attachments
whatnext.jpg
whatnext.jpg (197.23 KiB) Viewed 351 times

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Idylls of the gorn

Post by geofflambert »

Here's what I had

Image
Attachments
stepone.jpg
stepone.jpg (140.23 KiB) Viewed 351 times

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Idylls of the gorn

Post by geofflambert »

I uninstalled the two things referring to 7.

Image
Attachments
step2.jpg
step2.jpg (83.76 KiB) Viewed 351 times

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Idylls of the gorn

Post by geofflambert »

Then I installed Java 6, the thing you pointed at.

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Idylls of the gorn

Post by geofflambert »

Alright, maybe I'm catching on, I opened the batch file...

Image
Attachments
firstbatch.jpg
firstbatch.jpg (17.48 KiB) Viewed 351 times

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Idylls of the gorn

Post by geofflambert »

Then got this

Image
Attachments
secondbatch.jpg
secondbatch.jpg (51.44 KiB) Viewed 351 times

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Idylls of the gorn

Post by geofflambert »

I forget how to edit that, I know I've done it before, dementia setting in.

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Idylls of the gorn

Post by geofflambert »

OK, I'm still using my little reptilian brain, I right clicked on the batch file then clicked on "edit" and changed what I saw to this

Image
Attachments
edit.jpg
edit.jpg (197.11 KiB) Viewed 351 times

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Idylls of the gorn

Post by geofflambert »

OK, that didn't work, syntax error?

Image
Attachments
oops.jpg
oops.jpg (154.56 KiB) Viewed 351 times

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Idylls of the gorn

Post by geofflambert »

I followed the path it's there (from jre6)

Image
Attachments
stilldidntwork.jpg
stilldidntwork.jpg (149.19 KiB) Viewed 351 times

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Idylls of the gorn

Post by geofflambert »

OK I tried a shortcut I had set up earlier... The answer's here I think

Image
Attachments
usingshortcut.jpg
usingshortcut.jpg (107.89 KiB) Viewed 351 times

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Idylls of the gorn

Post by geofflambert »

It says the tables loaded in 1 second, it's that event queue thingy I guess

User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Idylls of the gorn

Post by geofflambert »

ORIGINAL: geofflambert

OK I tried a shortcut I had set up earlier... The answer's here I think

Image

Ah, that's where I hid Java 6 earlier, in the tools\tracker folder. This post was irrelevant.

User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: Idylls of the gorn

Post by witpqs »

I just got back. Are you all set now?

BTW, what EHansen mentioned is correct - after you have the correct version of Java running (and being pointed to) then you also need to have the correct dll file in the Tracker folder. Copy the one you are currently using for AE (if the you are running the Beta then it will be in that Beta folder).
User avatar
geofflambert
Posts: 14887
Joined: Thu Dec 23, 2010 2:18 pm
Location: St. Louis

RE: Idylls of the gorn

Post by geofflambert »

OK, moved the pwsdll.dll now I'll try and start her up again

Image
Attachments
pwsmove.jpg
pwsmove.jpg (147.81 KiB) Viewed 351 times

Post Reply

Return to “After Action Reports”