Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Memory Analyzer (MAT) » Configuring JRE for running MAT
Configuring JRE for running MAT [message #5441] Tue, 14 October 2008 17:57 Go to next message
Taras Tielkes is currently offline Taras TielkesFriend
Messages: 38
Registered: July 2009
Member
Hi,

On a Win64 x64 machine, my JAVA_HOME (and PATH) point to a 32-bit JDK -
primarily used for running maven.

How can I configure MAT to run using a specific x64 JRE that's also
installed on my system?

The hack I use right now is to copy the (server) x64 "jre" subdirectory
inside the MAT directory - that seems to get picked up. However, I
assume there's an easier and cleaner way?

Thanks

-tt
Re: Configuring JRE for running MAT [message #5447 is a reply to message #5441] Wed, 15 October 2008 12:58 Go to previous messageGo to next message
Krum Tsvetkov is currently offline Krum TsvetkovFriend
Messages: 164
Registered: July 2009
Senior Member
Hi,

Try running
MemoryAnalyzer.exe -vm <path_to_jdk>\bin

pay attention you have to give it thepath down to the bin folder.

Let me know if this helps.

regards,
Krum
Re: Configuring JRE for running MAT [message #5489 is a reply to message #5447] Fri, 17 October 2008 08:02 Go to previous message
Taras Tielkes is currently offline Taras TielkesFriend
Messages: 38
Registered: July 2009
Member
Hi Krum,

Krum Tsvetkov wrote:
> Try running
> MemoryAnalyzer.exe -vm <path_to_jdk>\bin
>
> pay attention you have to give it thepath down to the bin folder.
>
> Let me know if this helps.

Thanks, I've got it working.
Had to play for a few minutes with proper quoting.

This one works:
"C:\Program Files\<mat x64 dir>\MemoryAnalyzer.exe" -vm "C:\Program
Files\Java\jdk1.6.0_07_x64\bin"

This one doesn't:
"C:\Program Files\<mat x64 dir>\mat\MemoryAnalyzer.exe" "-vm C:\Program
Files\Java\jdk1.6.0_07_x64\bin"

Thanks for your help,

-tt
Previous Topic:Help understanding a heap dump
Next Topic:Using pre-indexed dump
Goto Forum:
  


Current Time: Sat Apr 20 01:15:10 GMT 2024

Powered by FUDForum. Page generated in 0.02922 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top