• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Open JAVA File

 
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am in my C: drive directory tree.

I mistakenly opened one of my Java files by selecting the Notepad. The Java statements are not displayed line by line. Therefore, I want to open those Java files in Textpad.

However, it only gives me the menu option "Open" when I right click on a Java file again. There is no menu option "Open with ..." for me to select Textpad or WordPad.

Now, how do I make the changes?
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In my Windows XP: open Windows Explorer. Select menu option "Tools" then option "Folder options". Select the "File Types" tab and then scroll down to the "JAVA" extension. Click on it, you get the option to change what it opens in.

This may be different if you have Vista and you may need administrator rights to do it, I don't know.
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also you can right click the .java file , then select properties, then the "Opens with" application is displayed, click the "Change" button to change the associated application.
 
Natalie Kopple
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Paul, thanks a lot for your help.
 
reply
    Bookmark Topic Watch Topic
  • New Topic