Advertisement Jump to content
Sign in to follow this  
gamechampionx

System.XML not found in Java

This topic is 4898 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm trying to use the System.Xml class that's used in the .NET framework from within Java, but it won't recognize it. I'm trying: import Xml.*;, which causes an error. Also, lines such as Xml.XmlNode node; and System.Xml.XmlNode node; cause errors whether or not the import statement is used. Why is Java not recognizing the class?

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by gamechampionx
Wow, I totally forgot that Java doesn't use the .NET libraries. I guess this means that there's no fast way to translate this code into Java?


Not really, at least not that I know of. I dont think there is any .NET framework translated code for Java either.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!