• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

java programs starting and opening up in Windows

 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure if this is the right place for this, but here goes:

I upgraded to Parallels desktop 9 a day or so ago -- no problem. I am currently learning java, and when I went back to open a program in os X, it started Parallels, and opened up the program in note pad.

This has never happened before; i tried to write a little program in notepad the other day (I think it was after the upgrade), but it wouldn't run when I was at the command line in windows XP; got some error message; I just stopped because I do my work in OS X and only use windows for work.

Now if I want to open my java programs in text edit I have to specify to do that in the terminal application. But this his never happened before. Can anyone tell me what's going on and how to stop this? Has anyone ever had this problem?
 
Marshal
Posts: 67279
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like something set up a file association behind your back.

Right click on the file in question, and choose Get Info. See what the "Open with" section has to say.
 
Christopher Laurenzano
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, that did it, but what's strange is that there were other java programs that I'd written that I never opened just now -- and they were set to open with notepad as well. In fact I did a spotlight search on all programs that end with .java and they're all set to open with notepad.
 
Bear Bibeault
Marshal
Posts: 67279
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In that same location you can change the setting for all files of the same type.

Note sure what changed it out from under your feet.
 
Christopher Laurenzano
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Bear. I was taken by surprise by this one. and I feel like a bit of a dunce for not getting the solution.
 
Bear Bibeault
Marshal
Posts: 67279
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glad to help!
 
I do some of my very best work in water. Like this tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!