nerdexam
Oracle

1Z0-102 · Question #63

You have opened a terminal window (or a Window command prompt) to run a WLST script named weeklydeployer.py. You enter the following command: Java weblogic.WLST weeklydeployer.py Instead of the WLST…

Sign in or unlock 1Z0-102 to reveal the answer and full explanation for question #63. The question stem and answer options stay visible for context.

Question

You have opened a terminal window (or a Window command prompt) to run a WLST script named weeklydeployer.py. You enter the following command:

Java weblogic.WLST weeklydeployer.py Instead of the WLST initializing and the script running, however, you receive the NoClassDefFoundError java exception for weblogic/WLST. What is the problem?

Options

  • AYou forgot to set PATH to include the java executable.
  • BThere is an error in the code of the script.
  • CYou forgot to set CLASSPATH to include weblogic.jar.
  • DYou are not in the directory where weeklydeployer.py resides.
  • EYou should have omitted the ".py" in the file name; it is assumed by WLST.
  • FYou forgot to set PATH to include the WLST executable.

Unlock 1Z0-102 to see the answer

You've previewed enough free 1Z0-102 questions. Unlock 1Z0-102 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 1Z0-102 Practice