File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes installing java plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "installing java plugin" Watch "installing java plugin" New topic
Author

installing java plugin

Roger F. Gay
Ranch Hand

Joined: Feb 16, 2007
Posts: 399
Java plugin is a browser plugin that comes with J2SE. I'm using some of its classes in an applet I'm developing. But I've never installed a plugin before - other than just to click "run" with self-installing types. This java plugin comes as a jar file that doesn't self-install.

I'm pretty sure (but not completely) that plugins are installed by placing them in a sub-directory of the browser software. I tried copying plugin.jar to C:\Program Files\Internet Explorer\Plugins - but that didn't seem to have any effect. (If it should have, I'll try again. Would I need to reboot my computer?) Anyways - anybody know how to install Java Plugin?

I have MSIE, Opera, and Firefox on my machine, and would be interested in getting this running properly in all three. At present, I'm using the plugin software by having it all unzipped (de-jarred?) into my classpath. I don't think that's the way it's supposed to be done.
[ August 28, 2007: Message edited by: Roger F. Gay ]

Correlation does not prove causality.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14432
    
  23

If you install the JRE (Java Runtime Environment), the browser plug-in is automatically installed. There is no separate install for the plug-in as far as I know, and the plug-in needs the JRE anyway - you can't just copy a few files from the plug-in without installing the JRE, that will not work.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Roger F. Gay
Ranch Hand

Joined: Feb 16, 2007
Posts: 399
I have the JRE installed ... most up-to-date version 1.6 - 2. Thanks for the feedback. With your comments in mind, I'll re-run some tests today. It just may be that my lack of knowledge got me confused along the way. I may come back with specifics later - if there are any actual problems. I don't think I messed up the JRE installation - that was well automated.

BTW: Having the plugin classes in my classpath does actually work. I'll see if the problem only occurred during compiles - i.e. not when running. (I started out confused, and tend to drop details from memory when something starts to work again - but woke up this morning knowing that I need to understand this part well before the package can be distributed.)
[ August 28, 2007: Message edited by: Roger F. Gay ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: installing java plugin