Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JFileChooser problem with jdk1.4.1_01  RSS feed

 
Jawad Kakar
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following code runs fine with jdk1.3.1, but it crushes the computer with jdk1.4.1_01.
Could anyone tell me why?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm... I'm not having a problem running the example under JDK 1.4.1_01... what platform are you running on? I'm running on Win2K.
 
Chantal Ackermann
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
works fine on Linux using 1.4.1_01.
what do you mean with "crashes" - can you provide an Exception or describe the behaviour?
Chantal
 
Jawad Kakar
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Nathan & Chantal,
I am using w2k with service pack 3, the computer shuts down, I have to restart the computer and do a disk scan.
Jawad
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And the ONLY time this happens is when you run that specific code you showed us using 1.4? Your computer seems to be just fine otherwise?
If this is the case, the first thing I would do is uninstall and re-install the JDK.
Let us know.
 
Jawad Kakar
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gregg,
The computer works fine otherwise, I can run the same code with 1.3 but not with 1.4
I will try to uninstall jdk1.4 and hope for the best.
Thank you
Jawad
 
Chantal Ackermann
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
haha - java manages to shut down the computer just by starting up the jvm?? (cause I suppose, it's not your program, or can you run any other program with 1.4.1_01?)
This is - frightening. I'd move to another OS. (and, to be consequent, to another programming language??)
(sorry for the sarcasm.)
Chantal
[ December 19, 2002: Message edited by: Chantal Ackermann ]
 
Jawad Kakar
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Uninstall and reinstall jdk 1.4.1_01 still does not work, it shut down the computer, although I wrote a "Hello World" one line program that works.
Jawad
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm... I'm running this on Windows 2000 Service pack 3 also, and running under JDK 1.4.1_01, so this shouldn't be a problem... Do you have multiple versions of Java installed on your machine? Maybe some windows files are corrupted? I really don't know what is going on...
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!