Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How to set Java Runtime Parameters in a file or Registry

  1. #1
    Junior Member
    Join Date
    May 2021
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation How to set Java Runtime Parameters in a file or Registry

    Hi All,
    i could really use some help please!

    i have a issue where i need to add the following;

    -Djdk.disableSerialConstructorChecks=true

    This needs to be added to the Java Run time Parameters in the Java Control panel however, i have over 3000 clients this needs to be done to i was hoping if someone knew a way to run a script or if there is a file that can be modified and i can send a file out that way.

    Java Version.251

    Any help would be great!

    Thanks

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: How to set Java Runtime Parameters in a file or Registry

    On Windows you could create a shortcut with the desired commandline; as long as all the sites have the jar file in the same location.
    The users would then click on the shortcut to start the program vs the jar file.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Create Window registry entry and get file path
    By samratsinghal in forum AWT / Java Swing
    Replies: 1
    Last Post: July 23rd, 2014, 03:04 AM
  2. Replies: 0
    Last Post: November 13th, 2012, 07:02 AM
  3. Replies: 12
    Last Post: August 28th, 2012, 01:07 AM
  4. Does Java create the following undeletable embedded-null registry entry..?
    By thedarkness in forum Java Theory & Questions
    Replies: 2
    Last Post: November 7th, 2011, 03:48 PM
  5. Java Installation with no Registry Key?
    By ch103 in forum Java Theory & Questions
    Replies: 1
    Last Post: October 20th, 2011, 06:41 PM

Tags for this Thread