This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • 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
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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: 67273
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: 67273
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: 67273
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glad to help!
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!