Using the Sun JRE

Hi.  We currently force the use for Java 6, version 22 by placing this code in the formsweb.cfg file:
[code]
### Define the default SUN JRE
### Java Plug-in 6 22
jpi_download_page=http://java.sun.com/javase/downloads/
### Parameter related to the version of the Java Plugin
jpi_classid=clsid:CAFEEFAC-0016-0000-0022-ABCDEFFEDCBA
### Parameter related to the version of the Java Plugin
jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6u22-windows-i586.cab#Version=1,6,0,22
### Parameter related to the version of the Java Plugin
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_22
[code]
If I want to change this confirguration so that users always use the latest version of the Sun JRE, how would I modify this code?
Any help would be greatly appreciated.  Thanks.

sharpe wrote:
Hi.  Thank you so much!
Is there a reason I would want to let users use any version of Java 1.6, but not Java 1.7?  Is it not possible to use the same logic, but to allow the users to use any version of Java 1.7?  Or is it unwise for some reason?
I'm just curious because sometimes my users are automatically prompted to install the latest version of Java, which is version 7, update 45 (I believe).  And when they do that installation then our Web Form applications start to prompt them that they need to install the correct version of the plug-in.  So I uninstall version 7, update 45 and Web Forms is fine again.  Any thoughts on the best way to be handling the Java plug-ins?
Hello Sharpe,
Good Day. From your post we don't know what is your application server version. guess 10.x.x.x.x as you are talking about JRE 1.6.
JRE 1.7 is not compatible with AS 10.x.x.x.
So, if your user wish to install JRE 1.7, make sure JRE 1.6 also installed in the same pc. Now what can you do ? Yes. you can restrict a web browser to run only selected Java plugins not other one. You can manage this from Add-Ons manage settings.
This restrict user, use specific browser for you application.
Hope this helps
Hamid

Similar Messages

  • How to Use the Sun Fortran Library

    I wish to use the Sun Fortran Library of functions, but I am having trouble compiling my program. I would appreciate some help on selecting the proper compiler options, code modifications, etc.
    My OS is Fedora 10 on a 64-bit system. I use the latest Sun Studio Express. I have used the Sun f95 compiler for quite some time as well, but this is my first use of one of the functions from the Sun Fortran Library.
    Here is my first attempt after doing some unsuccessful research of my own on this issue:
    PROGRAM test
    IMPLICIT NONE
    REAL*8 x, y
    REAL*8, EXTERNAL :: d_lgamma
    x=2.0
    y=d_lgamma(x)
    y=EXP(y)
    WRITE(*,*) x, y
    END PROGRAM test
    Here's how I tried to compile:
    f95 -lm test.f95test.o: In function `MAIN_':
    test.f95:(.text+0x91): undefined reference to `d_lgamma_'
    Obviously I am not doing this correctly. Is it possible that the Sun compiler and libraries have not been installed correctly on my system? How can I test if this is case?
    Thank you for your help with this matter.

    The routine d_lgamma_ is not supplied as part of Sun's Fortran product.
    Sun's Fortran team does not maintain the library that contains that
    routine. The team that does support the library has not yet ported it to
    Linux. Different teams have different priorities.
    In this case, there is a simple workaround. The C routine
    #include <math.h>
    double
    d_lgamma_(double *x)
    return (lgamma(*x));
    implements the routine d_lgamma_.
    Bob Corbett

  • List of Companies/Organizations using the Sun-RI

    Is there somewhere on the web a list of companies and organizations using the Sun-RI in productive web-applications (internet and/or intranet)?
    regards
    Alexander

    need same info......

  • Anyone use the Sun Datacenter Infiniband Switch 36? (part of Exadata 2)

    Hi all,
    As part of looking more closely at Exadata 2 I'm trying to figure out how to monitor the beast, and the [Switch 36|http://www.sun.com/products/networking/datacenter/ds36/] seems to be part of it. The docs [mention firmware 1.1.2 and how to get it|http://docs.sun.com/source/835-0784-03/z40005751839041.html#scrolltoc] on the A-Z download page... which doesn't exist :)
    If anyone has used this switch: is it easy to configure? How does it compare to other Infiniband switches from other vendors with the same number or ports (or is it a rebranding of another model)? Do you monitor it with SNMP? IPMI? Web access?
    Or do you know where I can get the latest firmware?
    Any info is appreciated, thanks!
    Mike

    These resources may be helpful:
    http://daoexamples.sourceforge.net/related.html
    http://daoexamples.sourceforge.net/index.html

  • How tom invoke an EJB from another EJB using the sun rmi protocl in Weblogi

    Hi,
    I am particularly new to EJB.
    My scenario is
    client invoking-->EJB-----invoking ----(Either a webService or an EJB)
    in WEBLOGIC
    Is it possible that a call from EJB to another EJB or WebService use Sun's RMI as underlying protocol instead of t3 or IIOP which are used in Weblogic ?
    Would be really a great help if you could provide me some sample on it on weblogic.

    Hi Stefan,
    You don't need to provide the InitialContextFactory for running a standalone client. The following should work just fine:
    Context initial = new InitialContext();
    System.out.println("Looking up ...");
    Object objref = initial.lookup(EJB);  //the lookup name should be a global JNDI name      //and not from the java:comp namespace
    System.out.println("Looked up EJB");The JNDI implementation looks for the jndi.properties file in your classpath. So make sure that you have the appserv-rt.jar from your <server_installation>/lib directory in your classpath.
    HTH,
    Sheetal

  • R12 and Sun JRE question

    Just a quick question related to the Sun JRE and R12 .. We recently upgrade from 11.5.10.2 to 12.1.3 ..
    We are still in testing mode but everything appears to be working fine so far ..
    One thing we noticed is that we are using the Sun JRE 1.6_18 on our PC's and we have 1.6_07 on the Web server environment files.
    ex: in the .xml s_sun_plugin_ver">1.6.0_07
    We also had to disable the Next Generation feature in the SUN JRE 1.6_18 because of different issues already known in metalink.
    As far as I know the Sun JRE version in the Webserver only indicates the lowest version that can be used on PC's, all our PC use version 1.6.0_18
    Is there any advantage in running the "txkSetPLugin.sh 16018" to bring the Webserver at 1.6.0_18 instead of 1.6.0_07 ?
    Or can we just leave the webserver version at 1.6.0_07 ? as all our PC's use only one version of the Sun JRE which is 1.6.0._18
    Thanks

    When reading note 393931.1, it appears that the version in the Webserver config files, only dicates the lowest version that can be used on the PCs , in our case we only have one version 1.6_18 on our PCs , so I assume that having version 1.6_07 or 1.6_18 in the Web config files should not make any difference in our case ?It is always recommended you have the same version of Jinitiator/JRE on the web server and the client machines. Not sure about the list of advantages, so you may log a SR for this.
    Also Note 393931.1 mentions patch 4377566, but the readme for this patch mentions the following:
    APPLICATIONS INTEROPERABILITY PATCH FOR JRE1.5.0_x PLUGIN
    So is this patch also applicable to JRE 1.6 ?This is a small patch, so I would recommend applying it.
    Thanks,
    Hussein

  • SUN jre 1.6.0_04 under Forms 10.1.2.3 and IE7

    Hello,
    I get nuts about the SUN jre configuration in relation with IE7 (client side) and running under the Application Server 10.1.2.3 (server side).
    My problem is that I want to use JRE 1.6.0_04 on IE7 for Oracle Forms at the client side. On the test client is also installed: JRE 1.6.0_05 and JRE 1.6.0_07.
    Here is my formsweb.cfg configuration to it:
    [testapp]
    width=1024
    height=768
    separateFrame=True
    lookandfeel=Generic
    form=test.fmx
    otherparams=term=X:\as1012\forms\fmrpcwebd.res
    WebUtilArchive=/forms/webutil/frmwebutil.jar,/forms/webutil/webutil.jar,/forms/webutil/jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=X:\as1012\forms\webutil\server\webutiljpi.htm
    baseHTMLjpi=X:\as1012\forms\webutil\server\webutiljpi.htm
    baseHTML=X:\as1012\forms\webutil\server\webutilbase.htm
    archive_jini=frmall_jinit.jar
    archive=frmall.jar,jacob.jar,webutil.jar
    lookAndFeel=oracle
    jpi_download_page=http://java.sun.com
    jpi_classid=clsid:CAFEEFAC-0016-0000-0004-ABCDEFFEDCBA
    jpi_codebase=http://server:7777/forms/webutil/jre-6u4-windows-i586-p.exe
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_04
    jpi_download_page=http://server:7777/forms/webutil/jre-6u4-windows-i586-p.exe
    IE=native
    I tried it under Firefox 3.0 where the version JRE 1.6.0_07 is installed. With the upper showed configuration it didn't worked. Only if I change this entry jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_07.
    Result: Firefox works correct.
    But the IE always starts the application with the SUN client: JRE 1.6.0_07
    I don't know what to do? I also changed the registry entry:
    [HKEY_CURRENT_USER\Software\JavaSoft\Java Update\Policy]
    and put this value in:
    "EnableSecureStaticVersioning"=dword:00000000
    Maybe somebody else knows what to do?
    Thanks ahead
    tarnhold

    What I noticed earlier this year was
    you can force Forms to use JRE 1.5 even though you have JRE 1.6 installed, but it will always pick the newest patch installed.
    So, if you want to use JRE 1.5 and have JRE 1.5.06 and 1.5.12 installed, the only way to use 1.5.06 is to uninstall 1.5.12
    But, if you read note 14 on the vertification matrix, newer patches of a certified major version, are also supported :)
    http://www.oracle.com/technology/products/forms/htdocs/10gR2/clientsod_forms10gR2.html
    Max

  • MSJVM: plugin seems to be overridden by Sun JRE?

    We have 1.5.0_06 installed and for old applications sometimes 1.4.2_10 is deployed (securestaticversioning disabled). On production environments it appears that the MSJVM can't be detected when 1.4.2_10 or 1.5.0_06 is installed. Disabling it in IE6 does the trick (where the MSJVM already was enabled).
    How come?! As far as I know and googled, applications or sites only can request one version of the Sun JRE (through classid), but is there no way to specifically call on the MSJVM?
    If the Sun JRE's are removed, the applications work alright. Has anyone an idea on how it is decided to which JRE/MSJVM will handle the request?
    On our testing machines with the same software all websites work fine, but if we remove the MSJVM (removal tool from the MS site, clear the specific registry hives) it appears we get errors that the JVM can't be detected?!
    Does IE6 first try to adress the MSJVM, and if other JRE's are detected then tries those?

    The MS JVM was last updated in 2003 and has some rather well-known exploits. It is a major security hole waiting to be exploited. Find a way to remove it from all your machines. Note that if you merely disable it using policies, it may interfere with the function of the Sun Java plug-in.

  • Incompatiility among the SUN JAVA and IBM JAVA

    Hi,
    There are Cryptographic policy files present in jre/lib/security. The
    default policy files are not capable of using stronger encryption
    algorithms like AES 256.
    In order to use them we need to install unrestricted policy files.
    The unrestricted policy files provided by Sun works fine but the Sun
    JRE is not compatible to the IBM JRE from the following scenario.....
    If I use the unrestricted policy files from IBM in the Sun JRE 1.6 the following exception occurs.....
    Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
    at javax.crypto.SunJCE_b.<clinit>(DashoA13*..)
    ... 9 more
    Caused by: java.lang.SecurityException: Jurisdiction policy files are not signed
    by trusted signers!
    at javax.crypto.SunJCE_b.a(DashoA13*..)
    at javax.crypto.SunJCE_b.i(DashoA13*..)
    at javax.crypto.SunJCE_b.g(DashoA13*..)
    at javax.crypto.SunJCE_b$1.run(DashoA13*..)
    at java.security.AccessController.doPrivileged(Native
    Method)
    ... 10 more
    So is Sun Java compatible to IBM java or not?

    If I use the unrestricted policy files from IBM in the Sun JRE 1.6Did somebody say you could do that?
    So is Sun Java compatible to IBM java or not?Of course is it. But nobody said that if you combine elements of both of them, the result will work, did they?
    I've deleted your four crossposts.

  • SUN JRE 1.3.1 slow JPEG file loading

    helo,
    I've developped an applet wich load jpeg files and display them on screen. I achieve my applet using Microsoft Java SDK 4.0 and all was fine. But my boss told me that the applet has to be run within the sun jre 1.3.1 plugin. When I test my applet with the sun plugin, it was horribly slow!!
    I wrote a little java app in order to compare the two jvm's. I establish that the Toolkit.getImage (+ media tracker for sync...) method was the main slowing point. I tested the app with 1.18 Mo jpeg files and found following results:
    Microsoft jvm : ~24 ms
    Sun JRE : ~250 ms
    about 10 times slower !!!
    What can I do??
    Am I stucked??
    thanx a lot
    cduret

    Kayaman, take a relax,
    there is no need to insult people. Many posts were written on this forum on "why do people get flamed for asking questions?". But there is no use to tell people they speak like 14 year old or they are from whatever UNI you mentioned in another post. At least don't forget that orher people also lose their time reading your answers. So if you have nothing to tell maybe just skip the topic.
    Mike

  • How to track changes on the directory server using the ChangeLog facility?

     

    The ldap search filter should read "cn=changelog"
    So the query should be something like
    ldapsearch -b "yourbase" -D "yourbind" -w passwd -s sub
    "cn=changelog"
    To make the output readabel, you may need the option -o if you use the iDS ldapsearch. If you use the Sun ldapsearch, the -o is not needed.

  • Which clients are using my Sun One server for authentication?

    We use Sun One ver. 5.2 .
    Our LDAP clients use it for authentication.
    How can I list which clients recently used the Sun One server to authenticate?
    The reason I need that is because I want to upgrade the Sun One server and I want to notify the clients that I'm about to do it.
    Thanks.

    https://www.redhat.com/archives/fedora-directory-users/2005-September/msg00010.html
    Useful script to extract LDAP based user posixGroup memberships information
    ===
    Assuming you are using posixGroup objectclass and memberUid attribute to
    store your membership information, you may find my shell script useful
    and handy.
    It works on Solaris LDAP Client with "ldapaddent" and "ldaplist"
    commands, and works against FDS, SUN DS or OpenLDAP.
    ===
    Gary

  • Using the rewriter to include javascript code on an external webpage

    -We are running Sun Portal Server 6.2
    -When users go to GOOGLE.COM through our gateway. I want the google page to be rewritten in such a way that it includes a piece of javascript code. (Written by me)
    In all the examples of the Sun documentation, I noticed only possibilities of rewriting tags so that it includes the gateway URL. Is it possible to actually replace a specific HTML tag with your own code or just even add code using the Sun Portal Rewriter service ???
    Anybody any clues ?

    I may have a (very bad) solution.
    You explode the /opt/SUNWps/libgateway.jar. In ressources subdir you have SRAPConvertSystem.js.
    It seems to be the javascript code the rewriter add at the beginning of the page.
    Try to edit the file, add some javascript at the end, redo the jar file and put it back in /opt/SUNps/lib.
    I did not try this. Maybe it's working, maybe not.

  • Can I run Servlets in the Sun App Server?

    I am trying to run a servlet. I am not sure if I can run the same using the Sun app server. any help to clarify the following queries would be appreciated.
    1. Should I have to specify a path in the environmental variables?
    2. Is there a web site that tells me the same with respect to running the servlet on a Sun app server.
    Thanks in advance.
    --Srikanta                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

    I'm not sure what you want in regards to question, but I can assure you that you can run servlets in S1AS7. My recommendation is to just package your servlet into a web archive (war) and deploy it. You can deploy it via the commandline (asadmin) or the web based administrative client (likely http://localhost:4848). For more information on this I suggest reading:
    http://docs.sun.com/source/816-7150-10/index.html
    You must likely want to read the section on assembling and deploying web applications.
    Matt Bauer

  • From where can I download the sun.security Classes?

    I am interested in using the sun.security.x509.CertAndKeyGen class? Could somebody provide me some assistance on downloading this?
    Thanks,
    Louis P. Civitello

    http://java.sun.com/security/index.html

Maybe you are looking for

  • Necessary to Embed Fonts?

    I'm getting ready to send some stuff off to the printers. I've used an addon font family from the web, and was wondering if it's necessary (or possible) to embed fonts in a .psd so the printer has access to them before printing.

  • Reduce Logical IO [db block gets/consistent gets]

    Hi, Still I'm unsure about the Logical IO (db block gets + consistent gets). I want to reduce 'consistent gets' for this query SQL> set autotrace traceonly SQL> select * from cm_per_phone_vw; 905 rows selected. Execution Plan Plan hash value: 5244333

  • How to find vendor who does not have transactions for last one year

    HI all, We have around 20000 vendors, i want to find out who does not have any transactions for last 1 year.  Any valuable suggestions on this? Thanks and regards Ramarao

  • List box (urgent)

    hi, i am working with oracle forms(6i).i want to display a list of items in a listbox.the items in the listbox are from a textbox(i.e,when a button is pressed the value in the textbox should be placed in the listbox). help me urgent..

  • Create custom characteristic

    Hi, Can anyone tell me how to create a mapping between a custom characteristic created in the BW system and the 7.0 datasource containing the master data. I have both of these in my BW system but am not sure how to define the mapping. Please advise!