10

Yesterday I came across a system property in Java -Djsse.enableCBCProtection=false which was added in JDK 6u30. I never knew about this till yesterday.

So can anyone tell me where I can find the list of system properties supported in a Java version along with its meaning?

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
Newbie
  • 2,979
  • 9
  • 34
  • 41

2 Answers2

8

Use this to get list of all supported properties.

    Properties props =  System.getProperties();
    System.out.println(props);

Also see here, most are mentioned .

sudmong
  • 2,036
  • 13
  • 12
  • 1
    I am looking for a place where I can get the list with its meaning. How exactly this affects my java program. – Newbie May 26 '12 at 07:54
  • few links provide meaning of some standard properties. there may be some other place where we can get all. http://docs.oracle.com/javase/tutorial/deployment/doingMoreWithRIA/properties.html http://docs.oracle.com/javase/1.4.2/docs/guide/net/properties.html http://docs.oracle.com/javase/jndi/tutorial/beyond/env/source.html http://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html http://www.javafundu.com/2009/12/jndi-environment-properties.html – sudmong May 26 '12 at 08:19
  • I'm surprised there isn't (after all this time) a command line switch to java that can do this. Something like `-verbose:properties`. – jbruni Apr 28 '17 at 00:05
5

There is not a single place with such a list. System properties are used all over the place by various parts of the Java environment, so you have to consult the documentation for the part you are using to see about their properties. For example the Java networking documentation describes several properties used by the URLConnection mechanism.

Francis Upton IV
  • 19,322
  • 3
  • 53
  • 57