Welcome! Log In Create A New Profile

Advanced

Upgrading Java to Jre6 from Jre1.6.0_07 problems

Posted by Demented Chihuahua 
Upgrading Java to Jre6 from Jre1.6.0_07 problems
December 01, 2008 01:09AM
Just a note for those of you who break things like me!

I upgraded java from 1.6.0_07 that was already on there or was installed from the windows installer to the latest version of java that offered itself to me in a nice little pop up window...stupid of me, I know...

Anyway, after that the 0.9 host wouldn't run...sucks. Fiddled around with stuff and found the problem.

My directory structure looks something like this for the java stuff:

C:\Program Files\Java\
\jre1.6.0_07\
\jre6\

The jre1.6.0_07 was the original one and contains a working structure. However, once I updated the java dist it changed the classpath to jre6 which didn't have the right files. To replicate my random fix you need to copy a total of 4 files from jre1.6.0_07 to jre6 and reinstall Java3D from here [java3d.dev.java.net]. In my case I grabbed the j3d-1_5_2-windows-i586.exe one and installed it. Just pick the defaults.

Now, to the 4 files I copied...

******************************************

From C:\Program Files\Java\jre1.6.0_07\lib\ext
you need

j3d-org-java3d-all.jar
RXTXComm.jar

to be copied to

C:\Program Files\Java\jre6\lib\ext

******************************************

From C:\Program Files\Java\jre1.6.0_07\bin
you need

RXTXSerial.dll
RXTXParallel.dll

to be copied to
C:\Program Files\Java\jre6\bin

******************************************

That's it. Don't need to change anything else. You should now run your normal RepRap-host.bat file and it should work. If not, don't mention that I helped you cause I didn't!

Demented

Edited 1 time(s). Last edit at 12/01/2008 01:55AM by Demented Chihuahua.
Demented Chihuahua Wrote:
-------------------------------------------------------
> Just a note for those of you who break things like
> me!
>
> I upgraded java from 1.6.0_07 that was already on
> there or was installed from the windows installer
> to the latest version of java that offered itself
> to me in a nice little pop up window...stupid of
> me, I know...
>
> Anyway, after that the 0.9 host wouldn't
> run...sucks. Fiddled around with stuff and found
> the problem.
>
> My directory structure looks something like this
> for the java stuff:
>
> C:\Program Files\Java\
> \jre1.6.0_07\
> \jre6\
>
> The jre1.6.0_07 was the original one and contains
> a working structure. However, once I updated the
> java dist it changed the classpath to jre6 which
> didn't have the right files. To replicate my
> random fix you need to copy a total of 4 files
> from jre1.6.0_07 to jre6 and reinstall Java3D from
> here
> [java3d.dev.java.net]. In
> my case I grabbed the j3d-1_5_2-windows-i586.exe
> one and installed it. Just pick the defaults.
>
> Now, to the 4 files I copied...
>
> ******************************************
>
> From C:\Program Files\Java\jre1.6.0_07\lib\ext
> you need
>
> j3d-org-java3d-all.jar
> RXTXComm.jar
>
> to be copied to
>
> C:\Program Files\Java\jre6\lib\ext
>
> ******************************************
>
> From C:\Program Files\Java\jre1.6.0_07\bin
> you need
>
> RXTXSerial.dll
> RXTXParallel.dll
>
> to be copied to
> C:\Program Files\Java\jre6\bin
>
> ******************************************
>
> That's it. Don't need to change anything else. You
> should now run your normal RepRap-host.bat file
> and it should work. If not, don't mention that I
> helped you cause I didn't!
>
> Demented
Re: Upgrading Java to Jre6 from Jre1.6.0_07 problems
December 04, 2008 08:08PM
I put all those files in my JRE6 directories and things still aren't working. Any other suggestions of things to look at?
Tim
Re: Upgrading Java to Jre6 from Jre1.6.0_07 problems
December 04, 2008 09:12PM
you also did the install of Java3D? Other than that, no. Sorry. It worked for me so I thought I would post it.

Was it working before the JRE6 update?

Demented
Re: Upgrading Java to Jre6 from Jre1.6.0_07 problems
December 05, 2008 09:41AM
Yep, I did the 3d a couple times and the files mentioned. So far nothing. I'll check things over again.

This is my first installation. I just finished the gantry system. I've got the Sanguino working, but not with motor drivers yet, that's another problem. I really want to get this thing working, it's almost there.

Thanks,
Tim
Re: Upgrading Java to Jre6 from Jre1.6.0_07 problems
December 06, 2008 11:30PM
I got it to work....finally. I had to copy a few more files. I kept running it and every time I got a "caused by" I would search for the file and copy it to the same directory structure in JRE6. The files it usually couldn't find were in Java3d.
Now I just have to get my Sanguino and motor drivers working. Fun..

Thanks for the help
Schultz
Sorry, only registered users may post in this forum.

Click here to login