Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8133385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T09:35:17+00:00 2026-06-06T09:35:17+00:00

I installed Oracle’s Java on Fedora 17, and I noticed that when using the

  • 0

I installed Oracle’s Java on Fedora 17, and I noticed that when using the command java -version it returns this

java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)

Java seems to run the -server option by default. The help text came up as

-server   to select the "server" VM
              The default VM is server,
              because you are running on a server-class machine.

Is there any way to change the default to client?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T09:35:18+00:00Added an answer on June 6, 2026 at 9:35 am

    The default setting is defined in the file jvm.cfg. A content like

    -client KNOWN
    -server KNOWN
    

    defines the client as the default.

    -server KNOWN
    -client KNOWN
    

    sets the server as the default.

    Source: http://www.rgagnon.com/javadetails/java-0566.html

    jvm.cfg location

    Unknown Mac OS X version:

    /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/jvm.cfg

    Mac OS X version 10.9 without installing JDK:

    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/jvm.cfg

    Mac OS X version 10.9 with installed JDK version 1.8.0_u92:

    /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/jvm.cfg


    You can find your jvm.cfg from the command line (Terminal.app) using the command $ locate /jvm.cfg. You might need to update your locate database first, using the command: $ sudo /usr/libexec/locate.updatedb

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have successfully installed Oracle 11g R2 version. I don't have good knowledge about
I recently installed Oracle's VirtualBox on Ubuntu, due to the fact that I needed
this one isn't a dev question but silly tech quesiton... I had installed oracle
I just installed the latest version of Oracle developer tools and couldn't install it
Recently I installed oracle 10g and previously I was working with 9i.I noticed many
I am using the operating system Windows Home Basic Premium. I installed Oracle 10g
We're currently using a fully installed oracle client and ado.net via odbc to establish
I just installed the Oracle instant client on my laptop, and get this when
I have installed Oracle 10G XE. I want to connect to it using JDBC
I have installed Oracle 10g in one of my office's computer. I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.