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 trialElias Svoba
14,347 PointsPlease copy and paste
i copied this result from my local IDE: Information:03/23/2018 01:26 - Compilation completed successfully in 3s 713ms Information:javac 1.8.0_162 was used to compile java sources. My code looks like this: 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)); }
}
But i'm getting this error message Bummer! Double check that your format matches '<KEY> is <VALUE>'. Maybe i copied the wrong result.
# Paste your results here
Information:javac 1.8.0_162 was used to compile java sources
Information:03/23/2018 01:26 - Compilation completed successfully in 3s 713ms
1 Answer
Jennifer Nordell
Treehouse TeacherHi there! It looks to me like you're copy and pasting in the results of compiling the program, but you should be copy and pasting in the results from running the program.
Hope this helps!
Elias Svoba
14,347 PointsElias Svoba
14,347 PointsThanks i finally got it.