File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Browser with JRE

 
Thilak Raj Surendra Babu
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
Is there any web brwoser which has inbult JRE,so that i could use the the JRE in the browser for launching applets,instead of using the java-plugin.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For all practical purposes: No.

What's wrong with using the Plugin?
 
Thilak Raj Surendra Babu
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I would like to have a web browser on a portable device like USB and have the JRE in that,allowing me to carry the browser along with JRE.So that leave me JRE independant of the host machine.Hope I am Clear...

Thanks & Reagrds
Thilak Raj S
 
Shoumin Li
Ranch Hand
Posts: 85
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think there is no any web brwoser which has inbuilt JRE
But you can installed a JRE to FIREFOX.
Then copy to USB device,I think it can work.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Shoumin Li:
I think there is no any web brwoser which has inbuilt JRE
But you can installed a JRE to FIREFOX. Then copy to USB device,I think it can work.


No. The JRE is part of the operating system, not the browser. Copying the browser (which includes only part of the plugin, other parts are installed in the OS) onto a USB stick will not work.
 
Thilak Raj Surendra Babu
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply guyz..the normal applet tag is translated either to object(i.e) or embed tag(firefox).they have a refference to clsid-->which point to the java plugin installled on the system..why cant we override that functionality to point to a jre that we want....Pls correct me if i am wrong..
I would also like to know how the Browser communicates with JRE when it comes accross an applet tag...Pls help me.

Thanks
Thilak Raj S
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thilak, you're missing the point. The JRE is part of the operating system, not the browser. You can indeed use "clsid" to point to one of any number of JREs, but they all need to be installed in the OS.
 
Thilak Raj Surendra Babu
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf,Can't we not use the JRE thats not installed on the operating system.Like directing the web browser to use JRE thats on the USB instead of one thats installled on the operating system.I beleieve the JRE and the plugin makes some registry entries and the browser uses these entries to start the correspoding JVM.Can we override that...pls correct me if iam wrong...
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know how else to put this - there will be no JVM/JRE on the USB stick. A JRE is installed into the OS, so unless you have a full OS install on that USB stick -and are booting off of it- this is not possible.
 
Thilak Raj Surendra Babu
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know how else to put this - there will be no JVM/JRE on the USB stick. A JRE is installed into the OS, so unless you have a full OS install on that USB stick -and are booting off of it- this is not possible.

Ulf,
For JRE to run we need not have that to be installed on the OS.Like if i copy JRE onto a USB and take it to another machine without any instance of JRE,i am able to start an application using java - jar.There is no need for me to install JRE onto the OS that i am using.(JRE doesn't have the need to be installed on the OS)but the Plugin alone needs to installed on the OS for the browser to determine JRE that has to be used.this is done with the help of Registry settings on windows.

What i wanted to do is get to know how the brwoser uses the Plugin to start the corresponding JRE.What i would like to do is changing the web browser to handle applet tags like instead of looking through the registry settings for determining the JRE to be launched..i would like to re-direct it to the JRE on the USB or the one I desire.Hope you understand...

Thanks
Thilak Raj S
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're right, I phrased that badly. It's not the JRE that gets installed into the OS, but the Plugin specifically. But since that's what you're trying to run, it amounts to the same result.
 
Thilak Raj Surendra Babu
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf,
Basically browser takes JRE to be used from Registry.I would like to know if there open source browsers that do not look into the registry for getting the JRE to be used.Or is there a possiblity to change the that behaviour of the browser.or does that beahaviour show some signinficant importance in the way the browser should behave in the context of an applet.

Thanks
Thilak Raj S
 
Thilak Raj Surendra Babu
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Thilak Raj Surendra Babu:
Hi Ulf,
Basically browser takes JRE to be used from Registry.I would like to know if there open source browsers that do not look into the registry for getting the JRE to be used.Or is there a possiblity to change the that behaviour of the browser.or does that beahaviour show some signinficant importance in the way the browser should behave in the context of an applet.

Thanks
Thilak Raj S


Hi,
After a year i found out this is possible with the help of API Hooks.We can hook the api calls to registry and fake the iexplorer to use the JRE on the USB than one tat is installed on tat machine.This works even when there is no JRE installed on tat machine.Also works in non-admin.

Thanks
Thilak Raj S
 
Palash Nandi
Ranch Hand
Posts: 34
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thilak Raj Surendra Babu wrote:
Hi,
After a year i found out this is possible with the help of API Hooks.We can hook the api calls to registry and fake the iexplorer to use the JRE on the USB than one tat is installed on tat machine.This works even when there is no JRE installed on tat machine.Also works in non-admin.

Thanks
Thilak Raj S


You really came back after a year to share your findings, Thats was very nice of you Thilak. But can you elaborate a bit more into how you hooked the api calls to registry. Since you have done it. Can you post a sample code ?
 
Darryl Burke
Bartender
Posts: 5116
11
Java Netbeans IDE Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Palash Nandi wrote:Can you post a sample code ?


First, we are NotACodeMill.

Then, if you look at Thilak's posting history you'll see that he hasn't visited here since 05 June 2008.

Finally, any solution that uses API hooks is not a Java solution and the details are off topic for this forum.

I wouldn't hold your breath waiting for that code.
 
Palash Nandi
Ranch Hand
Posts: 34
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darryl Burke wrote:I wouldn't hold your breath waiting for that code.


:P. okies.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic