java.lang query

  • Thread starter Thread starter Brian Stoop
  • Start date Start date
B

Brian Stoop

What references in a C# .NET project are needed to include java.lang

I would like to make java.lang.System.getProperty(..) calls,


thanks,
 
Brian Stoop said:
What references in a C# .NET project are needed to include java.lang

I would like to make java.lang.System.getProperty(..) calls,

You'd need to include the J# redistributable library.

What property are you interested in though? There's likely to be a
better way to do it in "normal" .NET.
 
Thanks Jon. I read "user.home" succesfully.

B

Jon Skeet said:
You'd need to include the J# redistributable library.

What property are you interested in though? There's likely to be a
better way to do it in "normal" .NET.
 
Brian Stoop said:
Thanks Jon. I read "user.home" succesfully.

Look at Environment.GetFolderPath - that's probably a better way of
doing it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top