nerdexam
Oracle

1Z0-819 · Question #170

Which describes a characteristic of setting up the Java development environment?

The correct answer is D. Setting up the Java development environment occurs when you install an IDE before the JDK. Note: The provided correct answer (D) appears to be incorrect. D states you install an IDE before the JDK, which is backwards - IDEs depend on the JDK, not the other way around, and IDEs are not required to develop in Java at all. The most defensible correct answer is C. Why C…

Java Platform Module System

Question

Which describes a characteristic of setting up the Java development environment?

Options

  • ASetting up the Java development environment requires that you also install the JRE.
  • BYou must configure the Java Runtime to set up for an operating system environment.
  • CYou set up the Java development environment for a specific operating system when you install the JDK.
  • DSetting up the Java development environment occurs when you install an IDE before the JDK.

How the community answered

(41 responses)
  • A
    2% (1)
  • B
    17% (7)
  • C
    7% (3)
  • D
    73% (30)

Explanation

Note: The provided correct answer (D) appears to be incorrect. D states you install an IDE before the JDK, which is backwards - IDEs depend on the JDK, not the other way around, and IDEs are not required to develop in Java at all. The most defensible correct answer is C.

Why C is correct: When you install the JDK (Java Development Kit), you are setting up the Java development environment, and you must choose a JDK build specific to your operating system (Windows, macOS, or Linux). The JDK contains the compiler (javac), tools, and libraries needed to write and build Java programs.

Why the others are wrong:

  • A is wrong because the JDK already includes the JRE - you do not need to install the JRE separately.
  • B is misleading; you configure environment variables (like JAVA_HOME) after installing the JDK, not the "Java Runtime" itself.
  • D is wrong because IDEs are optional tools layered on top of the JDK - you install the JDK first, and many developers never use an IDE at all.

Memory tip: Think of it this way - JDK = Development Kit (the toolbox itself). You can't build a house with just the toolbox cabinet (IDE); you need the tools inside (JDK) first. The JDK is also OS-specific, just like downloading software for Windows vs. Mac.

If this question is from an official exam bank, consider flagging it - the marked answer D contradicts standard Java setup guidance.

Topics

#JDK#JRE#IDE Configuration#Development Environment Setup

Community Discussion

No community discussion yet for this question.

Full 1Z0-819 Practice