2

In Windows to get the Programs folder I used this method: Java - get "program files" path

is there a method to get the path to the Mac OSX Application folder from Java?

Community
  • 1
  • 1
Sammy Guergachi
  • 1,966
  • 4
  • 24
  • 50

1 Answers1

2

On Mac OS X, you can use the known subdirectories of user.home cited here. If you use Java Web Start, you can offer to create a shortcut, which appears as a regular application.

Community
  • 1
  • 1
trashgod
  • 200,320
  • 28
  • 229
  • 974