Commit d3108714 authored by Stefan Marr's avatar Stefan Marr

Give proper error if loading of a system class failed.

Signed-off-by: default avatarStefan Marr <>
parent eb74900b
......@@ -554,6 +554,13 @@ class Universe(object):
# Load the system class
result = self._load_class(system_class.get_name(), system_class)
if not result:
+ " class could not be loaded. It is likely that the "
+ " class path has not been initialized properly. "
+ "Please make sure that the '-cp' parameter is given on the command-line.")
# Load primitives if necessary
if result.has_primitives():
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment