DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Last post Author Topic: Change name of particular file in all occurrences on hard disk  (Read 26,205 times)

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: Change name of particular file in all occurrences on hard disk
« Reply #25 on: November 16, 2012, 07:45 AM »
been using Virtual Box (VBox).  It was picked up by Cisco, but they haven't ruined it ... yet
:huh: Isn't that Oracle? (www.virtualbox.org, check page-footer)
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)

barney

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,294
Re: Change name of particular file in all occurrences on hard disk
« Reply #26 on: November 16, 2012, 07:49 AM »
been using Virtual Box (VBox).  It was picked up by Cisco, but they haven't ruined it ... yet
:huh: Isn't that Oracle? (www.virtualbox.org, check page-footer)

Yeah  :-[.  Hit the wrong shortcut key(s)  :-[.  Some days, just nuthin' goes right <sigh />.
Make a good day ... barn

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: Change name of particular file in all occurrences on hard disk
« Reply #27 on: November 16, 2012, 07:56 AM »
@nkormanik: What f0dder said:
Also, almost forgot: what's the symptoms when you try to launch the application? If it's a "Windows failed to load JVM.DLL" kinda message, it might be as simple as a x64 vs x86 JRE version issue.
You have (also) installed the x86 version of Java I assume? It sure looks like the SAS application is x86, and those are not capable of loading a x64 edition of the Java dll's. (If the application just shells out to a Java.exe then it would have worked as expected.)

Best suggestion for this direction so far is that it runs fine on Windows XP. It's highly unlikely that you are running XP x64, and unlike other software, Java needs to be installed in the bitness (x86/x64) of the application trying to use it, not the OS. On my x64 Windows I only have x86 Java installed, as I use no application(s) that require a x64 JVM.

NB: Full-blown Java applications shouldn't care nor matter what edition of the JVM is installed, except that the x64 edition has more memory available for applications.
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 563
Re: Change name of particular file in all occurrences on hard disk
« Reply #28 on: November 16, 2012, 08:05 AM »
Good point to check on.  Indeed, x86.  SAS says that even if you have an x64 system, to still use x86 Java and JVM.

As I may have mentioned above, SAS installed fine on a second hard disk in same system via dual-boot.  So problem is not the hardware.  Nor basic drivers present.  As those remain constant.

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Change name of particular file in all occurrences on hard disk
« Reply #29 on: November 16, 2012, 11:46 AM »
Maybe an OS issue, maybe a hardware issue, we never did pin it down, but we were leaning toward hardware before we quit - not enough return for the effort  :-\.
Never attribute to hardware that which can be attributed to retarded enterprise application developers.
- carpe noctem

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
Re: Change name of particular file in all occurrences on hard disk
« Reply #30 on: November 16, 2012, 03:36 PM »
Good point to check on.  Indeed, x86.  SAS says that even if you have an x64 system, to still use x86 Java and JVM.

As I may have mentioned above, SAS installed fine on a second hard disk in same system via dual-boot.  So problem is not the hardware.  Nor basic drivers present.  As those remain constant.


Can you copy the DLL from the dual boot side that works and try it?  All the .local does is force the DLL to be loaded from the same folder as the app for testing. I faintly remember using it when coding DLLs in Delphi maybe 10 years ago. This technique should be a substitute for the rename idea.  Rename the original DLL and try copying a few others, one at a time, to the local folder. If none of them work then it's likely some Java specific thing.  Have you tried posting on Java specific forum?  Someone else may have run into it.


nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 563
Re: Change name of particular file in all occurrences on hard disk
« Reply #31 on: November 16, 2012, 10:07 PM »
I concur.  Just thought I'd throw it to you folks.

Skwire, done with this one.

Original address: https://www.donationcoder.com/forum/index.php?topic=32863.0