Page 1 of 5

Activity Changer Problem

Posted: Tue Apr 09, 2013 10:48 am
by Col1948
I recently returned back to MSTS and I used a program called Activity Changer, I got a fresh download form the owner's website but as stated on his site sometimes it has a problem finding Java, well this is the case with me.

I typed in the Dos box for a version but it comes up with no Java on my system but I know there is and it is a recent copy.
I did a search on the Internet for reasons why and it is suggested Java should be activated via the control panel, I followed those instructions and sure enough it is activated.

I have contacted the owner of Activity Changer but as yet had no reply, I just wondered if anybody else has had this and what they did to rectify it?

Col.

Re: Activity Changer Problem

Posted: Tue Apr 09, 2013 12:48 pm
by slipperman12
Hi Col,
If you are running a 64 bit OS and have only installed the 64 bit version of Java, I suggest you also install the 32 bit version, as Activity Changer is a 32 bit program.

Cheers,
Ged

Re: Activity Changer Problem

Posted: Tue Apr 09, 2013 1:18 pm
by Col1948
Ah! I have WindowsXP and I am on 32Bit but I think the Jave is a new one and it might be 64Bit, I will try and find a 32Bit version, thanks I will let you know.

Col.

Re: Activity Changer Problem

Posted: Tue Apr 09, 2013 1:35 pm
by slipperman12
Hi Col,
I think it's unlikely that the 64 bit Java would have been downloaded - it just wouldn't work with 32 bit OS!!

Sorry, but I don't have any other suggestions :(

Cheers,
Ged

Re: Activity Changer Problem

Posted: Tue Apr 09, 2013 1:47 pm
by Col1948
I just took the Java off the PC, then found a 32bit version, downloaded and installed but still the Activity Changer just flashes the Dos window and doesn't start.
I even went in the RUN on the start menu and typed at the prompt Java -version but it still comes up it can't find it.

It is activated in the control panel too so I'm still puzzled.

Col.

Re: Activity Changer Problem

Posted: Tue Apr 09, 2013 1:51 pm
by Easilyconfused
If you have gone into the command prompt and typed java -version and it has not given you output like this then it is most likely you have an issue with the path environment variable so you might want to Google for some advice on how to set the path environment variable.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>java -version
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode, sharing)

C:\Windows\system32>

Re: Activity Changer Problem

Posted: Tue Apr 09, 2013 4:13 pm
by Col1948
I see on your text you have Java in Windows/Sytem32 mine has defaulted to C\:Program Files I wonder why it installed it there when it should be in Windows/System32 like yours?

Any the Activity Changer still isn't working.

Col.

Re: Activity Changer Problem

Posted: Tue Apr 09, 2013 4:45 pm
by Easilyconfused
My command box defaults to system32 since that is where I set it to default to when I installed Windows.
cmd.jpg

Re: Activity Changer Problem

Posted: Tue Apr 09, 2013 5:26 pm
by slipperman12
Hi Col,
Just to clarify John's reply - The path "Windows\System32" is nothing to do with Java and your version is correctly installed in Program Files :)

Cheers,
Ged

Re: Activity Changer Problem

Posted: Tue Apr 09, 2013 5:40 pm
by Col1948
Ah! I spent some time removing it and installing and wondering why it was in the wrong place.

Any was on a side note, I have been playing around with an activity, I introduced some ai traffic myself and I got a rail crash!
First time ever this had happened, an overtaking train went past me then stopped at a signal further up, as I approached the switch was set for me to go on his line and I ploughed in to him, a right mess I can tell you, good job it is a sim.

I thought the sim controlled things like this, I must take another look and see what went wrong, or is it a case of just starting the ai slightly earlier or later to allow for it to clear?

Col.

Re: Activity Changer Problem

Posted: Tue Apr 09, 2013 6:04 pm
by Easilyconfused
slipperman12 wrote:Hi Col,
Just to clarify John's reply - The path "Windows\System32" is nothing to do with Java and your version is correctly installed in Program Files :)

Cheers,
Ged
Yes Ged. My Java is installed under program files.

My point is that if the Activity Changer is expecting the path environment variable to contain an entry for the java directory and it does then it will fail to work.

The whole reason I can type java -version from the system32 directory and get a response is because the java runtime directory is set in my path variable. This is basic PC stuff and not specific to MSTS or any other train simulator. I set my system up this way to ensure JMRI would work correctly with my DCC Sprog programmer.

Re: Activity Changer Problem

Posted: Tue Apr 09, 2013 6:13 pm
by PeterPeddlesden
The same situation also exists where Java is concerned if you use other applications that require Java.

RouteRiter is one such program.

Scratch (The beginner programming language) is another program.

Re: Activity Changer Problem

Posted: Tue Apr 09, 2013 6:39 pm
by Col1948
Yes Route Riter also flags up a message saying Java does not appear on my system.

Re: Activity Changer Problem

Posted: Tue Apr 09, 2013 7:15 pm
by gswindale
Hi,

Have you copied the contents of the
C:\Program Files\Route Riter\TSUtil
folder into
C:\Program Files\Java\JRE7\classes
folder?

The folder entitled "Classes" may not exist - you will need to create it if so.

I think this is covered in the Route Riter read-me.

This is only strictly necessary to enable the use of TSUtils; but it is worth doing to avoid the message with Route Riter.

Re: Activity Changer Problem

Posted: Tue Apr 09, 2013 7:24 pm
by Col1948
Thanks Geoffrey that worked in RR, so in a way this proves I have Java installed :)