Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialNobody Tebulo
13,233 PointsHmmm...you seem to be missing some keys from your output, are you sure you pasted the entire output?
Hmmm...you seem to be missing some keys from your output, are you sure you pasted the entire output?
# Paste your results here
package com.teamtreehouse;
import java.util.Set;
import java.util.TreeSet;
public class Main {
public static void main(String[] args) {
// write your code here
System.out.printf("This is the classpath: %s %n",
System.getProperty("java.class.path"));
Set<String> propNames = new TreeSet<String>(System.getProperties().stringPropertyNames());
for (String propertyName : propNames) {
System.out.printf("%s is %s %n",
propertyName,
System.getProperty(propertyName));
}
}
}
1 Answer
Rares Conea
Courses Plus Student 15,000 PointsHi,
You did not understand the challenge. You must put that code in your workspace, Eclipse, IntelJ or what you are using, and paste the output produced after running the code.