Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Java Environment Variables


  • Please log in to reply
4 replies to this topic

#1 Yonatan

Yonatan

    CC Regular

  • Member
  • PipPipPip
  • 37 posts
  • Location:Israel
  • Programming Language:C, Java, C++, C#, JavaScript, PL/SQL, Visual Basic .NET
  • Learning:Python, JavaScript

Posted 29 October 2012 - 01:03 PM

Hi all,
I forgot the command that allows me to view current java environment values of "MaxPermSize" and etc...

There was a command that prints to command prompt all java variables and their values.

Thanks in advance
Yonatan
  • 0

#2 VNFox

VNFox

    CC Devotee

  • Senior Member
  • PipPipPipPipPipPip
  • 648 posts
  • Programming Language:C#, PHP
  • Learning:Assembly

Posted 29 October 2012 - 02:59 PM

Maybe this is the link that you're looking for:

http://docs.oracle.c...onment/env.html

hope this helps
  • 0

www.pickmike.com
I don't just develop software. I find solutions to your business needs.


#3 Yonatan

Yonatan

    CC Regular

  • Member
  • PipPipPip
  • 37 posts
  • Location:Israel
  • Programming Language:C, Java, C++, C#, JavaScript, PL/SQL, Visual Basic .NET
  • Learning:Python, JavaScript

Posted 29 October 2012 - 10:36 PM

Thank you, to be honest I was looking for some cmd commands if anyone knows?

I am 100% sure that there is a way I just cant remember the commands.
  • 0

#4 wim DC

wim DC

    Roar

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 2681 posts
  • Programming Language:Java, JavaScript, PL/SQL
  • Learning:Python

Posted 30 October 2012 - 12:32 AM

Maybe try typing
jinfo -flags <id>
Where <id> is the id of the java process. You can type 'tasklist' to see the current processes and their id.


I guess you want this:
java -XX:+PrintFlagsFinal

  • 0

#5 Yonatan

Yonatan

    CC Regular

  • Member
  • PipPipPip
  • 37 posts
  • Location:Israel
  • Programming Language:C, Java, C++, C#, JavaScript, PL/SQL, Visual Basic .NET
  • Learning:Python, JavaScript

Posted 30 October 2012 - 12:50 AM

Yes! Exactly!

Thank you.
  • 0




Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download