Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / March 2006

Tip: Looking for answers? Try searching our database.

Closing Java window crashes all open browser windows

Thread view: 
Shannon Jacobs - 19 Mar 2006 02:04 GMT
Looking over these two newsgroups (including the Google search views), they
don't seem to be the best places to ask, so I think the primary question
should be "Where should I ask this question?" I have seen some reports of
very similar symptoms, but they were in Linux and Firefox-specific. I'm
running under Windows, and I've seen the same problem for both Firefox and
IE, so I'm pretty sure it has something to do with the JVM...

The problem itself is pretty simple to describe. Many Java programs open up
a new window for their interactions. When that window is closed, it
sometimes causes all of the open browser windows to close, too.

No error messages, and nothing recorded in the system events. The Java
should be up to date, and the console shows Version 1.5.0, build
1.5.0_06-b05.
Edward A. Feustel - 19 Mar 2006 13:01 GMT
> Looking over these two newsgroups (including the Google search views),
> they don't seem to be the best places to ask, so I think the primary
[quoted text clipped - 11 lines]
> should be up to date, and the console shows Version 1.5.0, build
> 1.5.0_06-b05.
I have a similar problems with the same distribution:
1. When opening Java applets, I get two error messages. If I dismiss both,
the applet
opens correctly.
2. When closing Firefox, I get an error message every time.
Can anyone identify the problem or point to the correct place to post the
message?
TIA,
Ed
jcsnippets.atspace.com - 19 Mar 2006 23:09 GMT
<snipped>
> I have a similar problems with the same distribution:
> 1. When opening Java applets, I get two error messages. If I dismiss both,
[quoted text clipped - 5 lines]
> TIA,
> Ed

It would help if you posted the exact error messages you received...

As I pointed out to Shannon, the best places to ask for help are:
Java: comp.lang.java.help
JavaScript: comp.lang.javascript

In your case, that would be the first one (because of the applets).

Best regards,

JayCeee
--
http://jcsnippets.atspace.com/
a collection of source code, tips and tricks
jcsnippets.atspace.com - 19 Mar 2006 23:09 GMT
> Looking over these two newsgroups (including the Google search views), they
> don't seem to be the best places to ask, so I think the primary question
[quoted text clipped - 6 lines]
> a new window for their interactions. When that window is closed, it
> sometimes causes all of the open browser windows to close, too.
<snip>

Hi Shannon,

Are you sure this is happening because of Java? Or do you mean a new window
opened by JavaScript? Although similar in name, these are different, and
thus the solution for both will be different.

If it's Java, you might want to post this question to comp.lang.java.help -
if it's JavaScript, check out comp.lang.javascript. When in doubt, try them
both :)

Which version of FireFox and IE are you running, by the way? I remember
having problems with FireFox 1.0x some time ago...

Best regards,

JayCee
--
http://jcsnippets.atspace.com/
a collection of source code, tips and tricks
Shannon Jacobs - 21 Mar 2006 01:23 GMT
<snip>
> Hi Shannon,
>
[quoted text clipped - 12 lines]
>
> JayCee

Actually, I was a fairly accomplished professional programmer, and though
I've moved beyond programming for a living, I still dabble, including some
dabbling in JavaScript. I know that JavaScript was terribly misnamed and is
essentially an interpreted scripting language and fundamentally has no
relationship to Java. I am sure that the problem is in the JVM.

I know you're trying to be friendly and helpful, but you should avoid
projecting your ignorance on other people. There are a number of problems
these years that have made the newsgroups almost useless. The problem of
overly friendly, well-intentioned, but content-free posts is actually one of
the minor ones. If you have nothing to say, you'd do as well to say nothing.

Anyway, my current hypothesis is that it was a problem with the latest Sun
upgrade. Uninstalling all the increments of Java and doing a fresh install
of the 'latest and greatest' seems to have cured it.

Signature

The truth alone will not make you free. However, it is one of the
prerequisites. Unless you know the truths underlying your options, you
cannot choose in freedom, whether you're buying shaving cream or a war.
Busheviks are simply slaves to BushCo's lies.

Trolls fed to "The vile spewers of mindless blather thread" and/or
ploinked.

Oliver Wong - 21 Mar 2006 16:37 GMT
> Actually, I was a fairly accomplished professional programmer, and though
> I've moved beyond programming for a living, I still dabble, including some
[quoted text clipped - 8 lines]
> of the minor ones. If you have nothing to say, you'd do as well to say
> nothing.

   To be fair, we get a lot of people confusing JavaScript with Java, and
since we've never met you before, we didn't know if you were one of them.
It's usually easiest to get the JavaScript issue out of the way first,
because to do otherwise takes a lot of time and energy for everyone
involved, e.g.:

A: Try the following Java code.
B: It didn't work.
A: What do you mean it didn't work? You got compile errors, or runtime
exceptions or what?
B: What's a compiler.
A: You know, you type 'javac' to compile it.
B: I don't type 'javac'.
A: Oh, are you using an IDE then?
B: What's an IDE?
A: Are you using a tool to write your Java programs?
B: Yeah.
A: What's it called?
B: TextPad.
A: <Sigh>, okay, why don't you post your whole code, and I can try to see
what the problem is?
B: <post some code>
A: I said post your WHOLE code.
B: That IS my whole code!
A: There's no variable declarations. You're using variables without
declaring them. There's no way this would compile.
B: I know it doesn't work! That's why I'm posting here in the first place!
A: Wait... is this Java... or JavaScript?
B: What's the difference?
A: Is this code inside of an HTML file?
B: Yes.
A: You're in the wrong newsgroup.

   - Oliver
jcsnippets.atspace.com - 22 Mar 2006 00:10 GMT
> <snip>
> I know you're trying to be friendly and helpful, but you should avoid
> projecting your ignorance on other people. There are a number of problems
> these years that have made the newsgroups almost useless. The problem of
> overly friendly, well-intentioned, but content-free posts is actually one of
> the minor ones. If you have nothing to say, you'd do as well to say nothing.

I actually had something to say, therefor I said it. Granted, you may be a
programmer, but there are a lot of people out there who think *this* is the
ideal group to post their Javascript questions, and therefor I (incorrectly)
assumed that you were one of them. To call that "ignorant" I would call a
bit harsh, to say the least.

Anyway, next time I'll keep that in mind, and make sure only to answer your
Difficult Questions (tm).

Best regards,

JC
--
http://jcsnippets.atspace.com/
a collection of source code, tips and tricks


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.