Java.specification.version

Hi, Is there a format defined for the java.specification.version system property? I couldn't find a list of the specification numbers and so I'm wondering if it will it always be of the form 1.3, 1.4, 1.5, etc.? The other properties such as java.version and java.vm.version include minor versions and build numbers.
I am trying to detect if the JRE version is 1.4 and I know I can just do a beginsWith(1.4) but I'd like to understand if the property value is predictable across JREs (vendor/version).
Give me a link if you know its mentioned somewhere. I couldn't find anything more than what is mentioned in the java.lang.System API doc.
Thanks!

Personally I would use ClassLoader.getResourceAsStream("java/lang/Object.class") and parse out the major and minor version numbers.

Similar Messages

  • Java.vm.version property -- Time critical issue!

    Yesterday I upgraded my Java runtime environment in response to a popup that automatically appeared. Today my code doesn't run because the system property java.vm.version is screwed up.
    My program checks to see that the user's version of Java is at least at version 5. To do this, I call System.getProperty("java.vm.version") and examine the third character. Normally the value of the property is something like "1.6.0_03-b05", which indicates the JRE is at version 6. Today, the value returned is "10.0-b19", which is meaningless to me, and causes my program to exit.
    Looking at all the system properties, here are some relevant ones:
    java.vm.version=10.0-b19
    java.runtime.version=1.6.0_05-b13
    java.specification.version=1.6
    java.vm.specification.version=1.0
    java.version=1.6.0_05Is there a bug somewhere that is causing java.vm.version to return a weird value?
    Am I simply querying the wrong property? Would it be more appropriate to query one of the other properties?
    I've got about 50 users to support. If (or rather when) any of them upgrade their JRE, their copies will simply crash. I need to be proactive and address this problem before it gets critical. And if there's a bug in the release, I'm probably not the only program developer who will be caught by it.
    Awaiting a prompt response...
    Jerry Agin

    This one caught me too. Guess I'll switch properties. I can't find any explanation of what happened to this property in Java 6.

  • Print of Java 3D version

    Hey, forgive me if this is a stupid question, but I was wondering if there is a System call to print the version of Java 3D that is running on a system. You know, just like how you can do a
    System.out.println(java.specification.version+ ": " + System.getProperty(java.specification.version));to see the Java SDK version, but I would like to see the Java 3D version. thanks.

    Well, I found an answer to my question so I'll post it here:
    http://www.talkaboutprogramming.com/group/comp.lang.java.3d/messages/5068.html

  • Invoking a specific version of java over the internet

    According to [this page|http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/using_tags.html], the applet tag should be used if the web page is accessed through the internet and object or embed ought to be used if it's through an intranet. Why?
    Later, that article says that if you want to invoke a specific version of Java that you can do so with either of the intranet tags (using a specific classid for the object tag or a specific type for the embed tag), but doesn't say anything about doing it with the applet tag, making be conclude that, with the applet tag, it's not possible.

    You said "I will not try to guess what that doc. meant." That doesn't necessarily mean that there are others who can't. Maybe there are people who post on forums.sun.com that don't post on comp.lang.java.programmer? If anyone there knew, it seems like they would have responded?
    The <https://jdk6.dev.java.net/deployment_advice.html> link... I dunno... it didn't seem as comprehensive as the one my first post linked to. Doesn't discuss embed, for instance, nor does it mention anything about intranet's vs. internet's. Maybe Sun decided between 1.5.0 and 1.6.0 that the whole internet / intranet distinction was pointless, but if so, that'd be nice to know.
    Besides, sometimes hearing people explain it in different ways helps. Whether or not it'd help here is something I can't say until I've heard other explanations (if there are any to be had).
    (I'm yawnmoth, btw - I was logged out when I tried to make this post so I tried to login with 'yawnmoth' as my username and it asked me for a new username? maybe my 'yawnmoth' username is actually my email address?)
    Edited by: zelnaga on Aug 13, 2008 9:04 AM

  • Ciscoworks and Java - requiring a specific version

    Can anyone explain why Ciscoworks requires a specific version of the java plugin rather than just using it as a minimum requirement? The current version of java is 1.5.0_01 but when I access our server it complains that I'm not running 1.4.1_02. Is there anyway to stop this check happening and to force it to just use what's installed?
    cheers
    Mike

    Why indeed. I have raised this to Cisco developers ad nauseum. They are moving to more of a pure html schema with the upcoming release of LMS. Even that, though, will still have dependency on a specific JRE (1.42_something if I recall correctly). For now, you can use the parts of LMS and RWAN that aren't java-based applets despite the suite's error warning. Using any of the java applets (CiscoView, Campus Manager, etc.) requires the exact JRE noted in the documentation (1.41_02) and no substitutes are accepted. This is hard coded in the applet and there is no reliable work around. Some have reported limited success by using the Java control panel and having multiple JREs loaded on their machine. This is a bit tricky though and may not work in all situations.
    Thus the great myth of Java (write once, run anywhere) is exposed. The cynic might observe that a MS-based implementation would be prefereble. the purist would opine that a pure html W3C-compliant app would be the way to go. The realist just sighs and goes about working with what he (or she) is given.

  • Unable to launch the application after upgrading Java to version 1.6.0_26

    After upgrading Java to version 1.6.0_26 in Windows XP my web start throwing Exception. It works fine in Ubuntu with Java 1.6.0_24 and in Windows with older versions of Java 1.6.
    Exception doesn't say anything:
    java.lang.NullPointerException
           at com.sun.javaws.Launcher.executeApplication(Unknown Source)
           at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
           at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
           at com.sun.javaws.Launcher.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)Same as java console ouput
    Java Web Start 1.6.0_26
    Using JRE version 1.6.0_26-b03 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\esod
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    m:   print memory usage
    o:   trigger logging
    p:   reload proxy configuration
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    0-5: set trace level to <n>
    #### Java Web Start Error:
    #### nullMy Jnlp file looks like this
    <jnlp spec="1.0+">
    <information>
       <title>Editor</title>
       <vendor>Comapny name</vendor>
       <homepage href="http://company_urll" />
       <description>Editor/description>
    </information>
    <resources>
       <j2se version="1.6+" />
       <property value="true" name="javaws.cfg.jauthenticator" />
       <jar href="http://192.168.79.33:7070/resources/applet/formeditor.jar" />
    </resources>
    <security>
       <all-permissions />
    </security>
    <application-desc main-class="pl.rdata.formeditor.FormEditor">
       <argument>[email protected]</argument>
       <argument>rLq3347491</argument>
       <argument>17</argument>
       <argument>
       http://192.168.79.33:7070/formeditor/formManagerService.service</argument>
       <argument>
       http://192.168.79.33:7070/formeditor/customDataTypeManager.service</argument>
       <argument>
       http://192.168.79.33:7070/formeditor/authorizationService.service</argument>
       <argument>2</argument>
    </application-desc>
    </jnlp>This application is self signed.
    When I download jar file to disk I can run it with command java -jar and it works fine.
    After downloading jar I made some tests changing line <jar href="http://192.168.79.33:7070/resources/applet/formeditor.jar" /> in Jnlp file.
    When I changed it to <jar href="formeditor.jar" />, and have jar in folder it works.
    When I changed it to <jar href="file:///C:/formeditor.jar"> it is not working (same exception).
    In every case jar is download correctly and it pass verifying.
    can anyone help?
    Regards
    Michal

    867322 wrote:
    When I changed it to <jar href="formeditor.jar" />, and have jar in folder it works.Okay, so you at least have a workaround.
    can anyone help?Search the bugs database to see if someone else already reported this; if not create a new bug entry. Whatever mistake you could make, you should not be getting a NullPointerException as a result so this is at the very least a bug in the error handling of webstart.
    But just some observations to try and see if you can make a difference (which is added input for your bug report). If I check JNLP examples, I see that the url specified is usually without a protocol, so it could be like this:
    <jar href="/resources/applet/formeditor.jar" />The JNLP should be on the host that you service the jar from, so Webstart can fill in the host information for itself.
    Also you provide a main-class; if the jar manifest specifies a main-class (and it should) you don't need to specify it in your JNLP file.

  • SAP NetWeaver 2004s Java Trial Version installation problem

    I am trying to install SAP NetWeaver 2004s Java Trial Version in my windows xp machine.
    I have the following error.
    Nothing is written in to my E:\usr\sap folder which I have share as saploc and sapmnt.
    I read the forum threads on this.
    I still do not know how to do this.
    Please help
    vijay
    INFO 2006-12-17 21:23:58
    Execute step getSID of component |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0.
    ERROR 2006-12-17 21:24:01
    FJS-00003  TypeError: dir_profile has no properties (in script NW_Java_OneHost|ind|ind|ind|ind, line 39640: ???)
    ERROR 2006-12-17 21:24:01
    MUT-03025  Caught ESAPinstException in Modulecall: executing JS script failed.
    ERROR 2006-12-17 21:24:01
    FCO-00011  The step getSID with step key |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|getSID was executed with status ERROR .

    Rajat,
    Sorry for the delay. I was on vacation.
    Which environment variable are you referring to?
    JAVA_HOME is set to C:\j2sdk1.4.2_09.
    I am using j2sdk1.4.2_09.
    Only port changes I tried was
    #sapdp01          3201/tcp.
    I tried with and without the # .
    Both had the same results.
    I have given below the last few statememts from the sapinst log file
    Any help to solve my problem will be greatly appreciated.
    Thanks.
    Vijay
    INFO 2007-01-02 16:13:25
    Execution of the command "C:\j2sdk1.4.2_09\bin\java.exe -classpath C:/DOCUME1/VIJAYV1/LOCALS1/Temp/sapinst_exe.5432.1167783061/JAR/ins-j2ee.jar com.sap.ins.j2ee.GetSystemProperty" finished with return code 0. Output: ##Tue Jan 02 16:13:25 PST 2007java.runtime.name=Java(TM) 2 Runtime Environment, Standard Editionsun.boot.library.path=C\:
    j2sdk1.4.2_09
    jre
    binjava.vm.version=1.4.2_09-b05java.vm.vendor=Sun Microsystems Inc.java.vendor.url=http\://java.sun.com/path.separator=;java.vm.name=Java HotSpot(TM) Client VMfile.encoding.pkg=sun.iouser.country=USsun.os.patch.level=Service Pack 2java.vm.specification.name=Java Virtual Machine Specificationuser.dir=C\:
    Program Files
    sapinst_instdir
    NW04S
    SNEAK_PREVIEW
    FULL
    INSTALLjava.runtime.version=1.4.2_09-b05java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironmentjava.endorsed.dirs=C\:
    j2sdk1.4.2_09
    jre
    lib
    endorsedos.arch=x86java.io.tmpdir=C\:
    DOCUME1
    VIJAYV1
    LOCALS1
    Temp
    line.separator=\r\njava.vm.specification.vendor=Sun Microsystems Inc.user.variant=os.name=Windows XPsun.java2d.fontpath=java.library.path=C\:
    j2sdk1.4.2_09
    bin;.;C\:
    WINDOWS
    system32;C\:
    WINDOWS;e\:
    sapdb
    programs
    bin;e\:
    sapdb
    programs
    pgm;C\:
    MCC18
    mpasm;C\:
    MCC18
    bin;C\:
    MCC18
    mpasm;C\:
    MCC18
    bin;C\:
    MCC18
    mpasm;C\:
    MCC18
    bin;f\:
    oracle
    product
    10gDSHome
    jdk
    jre
    bin
    classic;f\:
    oracle
    product
    10gDSHome
    jdk
    jre
    bin;f\:
    oracle
    product
    10gDSHome
    jdk
    jre
    bin
    client;f\:
    oracle
    product
    10gDSHome
    jlib;f\:
    oracle
    product
    10gDSHome
    bin;f\:
    oracle
    product
    10gDSHome
    jre
    1.1.8
    bin;f\:
    oracle
    product
    10.1.0
    Db_1
    bin;f\:
    oracle
    product
    10.1.0
    Db_1
    jre
    1.4.2
    bin
    client;f\:
    oracle
    product
    10.1.0
    Db_1
    jre
    1.4.2
    bin;C\:
    WINDOWS
    system32;C\:
    WINDOWS;C\:
    WINDOWS
    System32
    Wbem;C\:
    Program Files
    Microsoft SQL Server
    80
    Tools
    BINN;C\:
    Program Files
    Microsoft SQL Server
    80
    Tools
    Binn
    ;C\:
    WINDOWS
    Microsoft.NET
    Framework
    v1.1.4322;F\:
    maven
    Maven 1.0
    bin;C\:
    Program Files
    QuickTime
    QTSystem
    ;C\:
    MCC18
    mpasm;C\:
    MCC18
    bin;C\:
    MCC18
    mpasm;C\:
    MCC18
    bin;C\:
    MCC18
    mpasm;C\:
    MCC18
    bin;java.specification.name=Java Platform API Specificationjava.class.version=48.0java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactoryos.version=5.1user.home=C\:
    Documents and Settings
    vijay vijayakumaruser.timezone=America/Los_Angelesjava.awt.printerjob=sun.awt.windows.WPrinterJobfile.encoding=Cp1252java.specification.version=1.4java.class.path=C\:/DOCUME1/VIJAYV1/LOCALS~1/Temp/sapinst_exe.5432.1167783061/JAR/ins-j2ee.jaruser.name=vijay vijayakumarjava.vm.specification.version=1.0java.home=C\:
    j2sdk1.4.2_09
    jresun.arch.data.model=32user.language=enjava.specification.vendor=Sun Microsystems Inc.awt.toolkit=sun.awt.windows.WToolkitjava.vm.info=mixed modejava.version=1.4.2_09java.ext.dirs=C\:
    j2sdk1.4.2_09
    jre
    lib
    extsun.boot.class.path=C\:
    j2sdk1.4.2_09
    jre
    lib
    rt.jar;C\:
    j2sdk1.4.2_09
    jre
    lib
    i18n.jar;C\:
    j2sdk1.4.2_09
    jre
    lib
    sunrsasign.jar;C\:
    j2sdk1.4.2_09
    jre
    lib
    jsse.jar;C\:
    j2sdk1.4.2_09
    jre
    lib
    jce.jar;C\:
    j2sdk1.4.2_09
    jre
    lib
    charsets.jar;C\:
    j2sdk1.4.2_09
    jre
    classesjava.vendor=Sun Microsystems Inc.file.separator=
    java.vendor.url.bug=http\://java.sun.com/cgi-bin/bugreport.cgisun.io.unicode.encoding=UnicodeLittlesun.cpu.endian=littlesun.cpu.isalist=pentium i486 i386
    INFO 2007-01-02 16:13:25
    Execute step setNWOption of component |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_getJavaHome|ind|ind|ind|ind|0|0.
    INFO 2007-01-02 16:13:26
    Execute step collect of component |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0.
    ERROR 2007-01-02 16:13:28
    FJS-00003  TypeError: this._name has no properties (in script NW_Java_OneHost|ind|ind|ind|ind, line 8987: ???)
    ERROR 2007-01-02 16:13:29
    FCO-00011  The step collect with step key |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|collect was executed with status ERROR .

  • How to choose a specific version and detect the same specific version?

    I've found the following link in other posts about choosing versions programmatically:
    http://java.sun.com/products/plugin/versions.html
    Well, I'm not quite sure how to use that classid for "static versioning". I mean, if I need to use 1.3.1_08 but not others (not even 1.3.1_07 or 1.3.1_09, but only 1.3.1_08), what classid should I use?
    That page doesn't teach us what syntax we're supposed to use!
    On the other hand, my webapp needs to detect what JRE is installed and would suggest what to do in case the specific version can't be found in client computer. What should I do?
    Thirdly, I've noticed that the order of installing versions is important. Let's say there're two versions in a computer, V1 and V2, while what I need is V1. Depending on V1 or V2 is the final installed one, my detection might or might not work. Someone knows what to do?
    TIA

    galo,
    willkommen zu den Apple Diskussionen.
    You don't state which version of Keynote you're using. Keynote 3 offers an option to restart the presentation after an inactivity of x min (at least 1 min).
    Look at Document inspector on the Document tab.
    In German: Klick im Informationen-Fenster auf das weiße Blatt und ggf. den Dokument-Button. Dort findest Du:
    Präsentation als Endlosschleife
    Präsentation neu starten nach Inaktivität von
    Viel Erfolg.
    If this information is useful to you, please mark it as "helpful" or "solved" using the little buttons in the titlebar of this message. Thank you.
    PowerBook G4 17", 1GB   Mac OS X (10.4.7)   iMac G5 20"; iPod 3G, iPod Shuffle, iSight

  • Machine Specs for installing SAP NetWeaver 7.0 - Java Trial version.

    Hi,
    can we install SAP NetWeaver 7.0 - Java Trial on windows x64 OS/machine or all the trail versions work only on 32 bit OS/machine?
    I tried installing SAP NetWeaver 7.0 - Java Trial it on my laptop (Win XP 32 bit) and on a Server (Win 2003 server x64 bit), it failed.
    Is SAP NetWeaver 7.0 - Java Trial version specifies any particular configuration on which it will work perfectly fine without any issues?
    your help would be highly appreaciated.
    thanks,

    Only work with 32bits
    SAP NetWeaver 7.0 Java Trial Version System Requirements
          Operating System: Windows 2000 (Service Pack 3); Windows XP Professional (Service Pack 1) or Windows Server 2003
          NTFS-File systems
          Internet Explorer 5.5 or higher or Firefox 1.0 or higher
          At least 1 GB RAM, 2 GB are recommended
          Intel Pentium III/1.1 GHz or higher (or compatible)
          14GB free hard disk space (8.6 GB for the installed software and 4.9 GB for the installer software)
          High-resolution monitor (1024x768 or higher, 256 colors)
          Sun Microsystems J2SE SDK version 1.4.2_XX or 1.4.2_XX (Sun JDK 1.5 not tested). You can download this from Sun Microsystems at http://java.sun.com/products/archive/j2se/1.4.2_XX/index.html. Please note that version 1.4.2_10 may cause installation problems.
          If you have already installed SAP products on your computer, you must ensure that none of the systems are called "J2E".
          The file C:\WINNT\system32\drivers\etc\services (Windows 2000) or C:\Windows\system32\drivers\etc\services (Windows XP) must not include an entry for the ports 3601, 3201 and 50000 to 50030. A possible entry can be excluded by using the hash symbol (#).
          If no DHCP server is available on your network (which dynamically determines the IP address) or your computer is not connected to any network, you need to install the virtual interface adapter MS Loopback Adapter. This is described in detail within the contents of the download package.
          To use SAP Interactive Forms by Adobe, you must install the necessary credential file and activatetial file and activate it using a unique password. Download the latest credential and password from SDN.
    check the points if i help you

  • Auto-update and Specific version with OBJECT...CLASSID=...

    We're deploying an applet, and want to be sure to use a specific version of the JRE. So far we've been using 1.4.2 without problems, and now its time to support 1.5.0 (5.0).
    We intend to do this with <object classid="clsid:CAFEEFAC-0015-0000-0000-ABCDEFFEDCBA">....
    as outlined in:
    http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/using_tags.html
    The 1.5.0 control panel (for Windows) also includes an "Update" pane where java will be auto updated, if a newer version is found. (The 1.4.2 version apparently also contained that, but I was never updated to 1.5.0....)
    What will the "Java Update mechanism" do when a 1.5.1 version is released at some point? Will the installed 1.5.0 version automatically be replaced by the new 1.5.1 version, so the <object classid="clsid:CAFEEFAC-0015-0000-0000-ABCDEFFEDCBA"> gets broken? Or will 1.5.1 be installed in addition to 1.5.0, so our applet tags still work? Or will the "Java Update mechanism" only install newer updates to 1.5.0 (e.g. 1.5.0_03)?
    Naturally, our tech support won't be thrilled to get calls from every single customer complaining that the 1.5.0 JRE can't be found immediately after Sun releases 1.5.1... :-D
    I'm assuming that once installed, 1.5.0 will never be "auto-removed" due to "Java Update mechanism". Is this a correct assumption?
    Thanks for reading this far,
    Peter

    We're deploying an applet, and want to be sure to use a specific version of the JRE. So far we've been using 1.4.2 without problems, and now its time to support 1.5.0 (5.0).
    We intend to do this with <object classid="clsid:CAFEEFAC-0015-0000-0000-ABCDEFFEDCBA">....
    as outlined in:
    http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/using_tags.html
    The 1.5.0 control panel (for Windows) also includes an "Update" pane where java will be auto updated, if a newer version is found. (The 1.4.2 version apparently also contained that, but I was never updated to 1.5.0....)
    What will the "Java Update mechanism" do when a 1.5.1 version is released at some point? Will the installed 1.5.0 version automatically be replaced by the new 1.5.1 version, so the <object classid="clsid:CAFEEFAC-0015-0000-0000-ABCDEFFEDCBA"> gets broken? Or will 1.5.1 be installed in addition to 1.5.0, so our applet tags still work? Or will the "Java Update mechanism" only install newer updates to 1.5.0 (e.g. 1.5.0_03)?
    Naturally, our tech support won't be thrilled to get calls from every single customer complaining that the 1.5.0 JRE can't be found immediately after Sun releases 1.5.1... :-D
    I'm assuming that once installed, 1.5.0 will never be "auto-removed" due to "Java Update mechanism". Is this a correct assumption?
    Thanks for reading this far,
    Peter

  • Specific version of jre in .jnlp file and downloading from local server

    Hi,
    I have couple of questions regarding the specific version of jre in Java WebStart.
    1) I have specified the jre version in .jnlp file as below.
    <resources>
    <j2se version="1.3.1_02"/>
    </resources>
    When I saw the File/Preferences/Java of Java WebStart installation, there is an entry with the "Product Version" value as 1.3.1_02 as I installed jre also before launching my application. Still it complains as,
    The application has requested a version of the Java 2 platform (JRE) that is currently not locally installed. Java Web Start was unable to automatically download and install the requested version. The JRE version must be installed manually.
    Error Code 11 (11 Could not locate requested version) returned from server when accessing resource: (http://java.sun.com/products/autodl/j2se, 1.3.1_02)
    When it is there already, why it is trying to get from the Sun's site.
    2) I want Java WebStart to download the specified version of jre from my local server, I specified this in the following way,
    <resources os="Windows">
    <j2se version="1.3.1_02" href="http://host:9095/j2re-1_3_1_02-win.exe"/>
    </resource>
    I got the error saying,
    Bad MIME type returned from server when accessing resource: (http://host/j2re-1_3_1_02-win.exe, 1.3.1_02) - application/octet-stream. where host is my server name. What I need to do here.
    Can I have multiple resource tags one for each os.
    Help is highly appreciated.
    Thanks,
    Sreedhar.

    Hi Sreedhar,
    There are some other useful threads in this forum on this topic:
    the "Automatically Installing the IBM JRE 1.2.2" thread has tips from somebody who's put together auto-download of JREs from his own web site:
    http://forum.java.sun.com/thread.jsp?forum=38&thread=71061
    Also, the behavior of the j2se tag is discussed a little in the "Using a specific JRE" thread: http://forum.java.sun.com/thread.jsp?forum=38&thread=158075
    The first step is to add an href attribute to your j2se tag. I was just experimenting with this this afternoon,
    and it appears that unless that href is specified (even if it's the java.sun.com default autodl URL!) JWS will not properly check locally-installed 1.3.1 JREs. Once you include Sun's autodl URL as an href, JWS will at least properly enforce the product version among locally-installed JREs. Of course, Sun doesn't actually include 1.3.1 in its autodl section, so it won't download it for you, but it will enable checking of the JREs already installed.
    The second step is downloading JREs from your own web site, which is more complicated and explained better by other messages in the forum. But basically, JWS is not simply looking for a .exe installer for a particular JRE. It hits the webserver with a query and expects the webserver to give it back an installer's JNLP file. Look at the referenced threads for more details.
    Jim

  • How can I make Firefox use another installed Java runtime version?

    For development purposes I have several Java runtime versions on my Windows 7 64 bit machine. I try to keep the number of installed JDKs and JREs to a minimum and I want Firefox to use JRE 1.7.0_21 (32 bit) since this came with a JDK version I am forced to use for another application.
    Firefox however uses JRE 1.6.0_31, and correctly reports this as insecure. It offers me the option to upgrade, but I do not want to download and install another JRE since I already have said JRE 1.7.0_21 installed. I would highly prefer to just be able to point Firefox to that JRE. I don't see an option to select another installed JRE however.
    I have already attempted to manually modify the pluginreg.dat file (I know, it says Do not edit...) by changing the JRE 1.6 entries to JRE 1.7, but upon restart my edits were overwritten and the old JRE was back. As a result I cannot view certain web sites (also corporate/internal) without having to switch to lesser browsers.
    Please let me know how I can make Firefox use the already installed JRE 1.7.

    Thank you for your response, cor-el. I was able to successfully add the JRE 1.7 plugin to Firefox by modifying the existing JRE 1.6 registry entries, but I would not recommend this procedure to users that are less confident in registry editing. Too bad there is not a more user friendly way to do this.
    Unfortunately the Java applet I'm trying to view is still not displayed. I've dug a bit deeper and found that the applet explicitly specifies an older JPI version (1.5.0_02). AFAIK Firefox cannot deal with this if its installed JPI (now 1.7.0_21) does not match the version requested. So either I'm going to have to dig up this older JPI version and install that too, or just switch to an alternative browser to be able to view this applet.

  • How can you ignore one specific version of a package when upgrading?

    Hi all,
    Due to a rather nasty bug in mplayer, the current version in the Arch repositories is unusable for me.  I am currently running the previous version without any problems, but every time I try to upgrade, pacman wants to reinstall this broken version.
    I don't want to list mplayer in the IgnorePkgs option, because then I won't get any new versions.  Since the bug has long been fixed, the next Arch version should work fine - it's just the current Arch version (35014) that is broken and I want to ignore.
    Is there some way I can blacklist this specific version of the package, so although it won't ever be installed, any newer version will?
    I tried adding "mplayer-35014" and "mplayer-35014-1" to IgnorePkgs but it didn't work.
    Any suggestions?

    Hmm, I hadn't thought of that.  I didn't actually build a package from it, because I didn't know where the problem was.  So I just compiled a bunch of things the old fashioned way and ran them without installing anything until I had narrowed down the problem.  But I'm sure there's an mplayer-svn in AUR I could use - good idea.

  • Function Module to get ABAP source code for a specific version

    Hi all
    Is there a function module that I can use to get the source code of another function module at a specific version?
    For example, can I call a function module passing in "FM_NAME" and "FM_VERSION" and have it return the lines of code associated with that object?
    Thanks in advance.
    Stuart

    Thanks guys
    That's incredibly helpful! I have one more question that I just thought of last night...
    Is there a way to hook into the code activation process? I want to be able to take a snapshot of the ABAP source code at each point when it is activated for use in another system, but need to be able to intercept this event and get the source code at that point in time.
    Any ideas?
    Thanks!

  • SAP NetWeaver 2004s Java Trial Version on Windows Vista

    Hello everyone,
    I have been trying to install SAP NetWeaver 2004s Java Trial Version for three days now on Windows Vista Ultimate. Since Microsoft has a new security infrastructure implemented in Windows Vista, it is not that easy to install SAP NetWeaver 2004s Java Trial Version. Windows Vista has some sort of User-account security. In summary, in Windows Vista, you are logged in as an administrator, but when it comes to change system files or do registry entries, you or respectivly third party programs (e.g. SAP NetWeaver 2004s Java Trial Version installer) has no rights to do things like registry entries. There is a possibility to rightclick on the setup.bat file and start it in administrative mode, but that doesn't change a thing.
    I hope you guys get my problem.
    This is the error log:
    WARNING 2007-01-28 21:09:35
    Error 5 (acces denied
    ) in execution of a 'RegOpenKeyEx' function, line (69), with parameter (SYSTEM\CurrentControlSet\Services\DPS).
    WARNING 2007-01-28 21:09:35
    The Subkey 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DPS' does not exist on the 'localhost' host.
    ERROR 2007-01-28 21:09:35
    MOS-01185  The subkey 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DPS' does not exist on the 'localhost' host.
    ERROR 2007-01-28 21:09:35
    FCO-00011  The step collect with step key |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|collect was executed with status ERROR .
    Please help!
    yours
    erik

    Windows Vista isn't on the support matrix of SAP Netweaver 2004s!
    you may play arround with regedit and chaning the security settings of SYSTEM\CurrentControlSet\Services\DPS key. SAPinst is doing a KEY_ALL_ACCESS when enumerating the services registry.
    Starting with Vista some registry values have special protection which do not allow administrators to open them with KEY_ALL_ACCESS.
    peter

Maybe you are looking for

  • Matching colors - 20" display and PB G4

    I'm having a hard time calibrating my 20 inch ACD and my powerbook G4 15". I've used Spyder's calibrator and Optical, and have tried Apple's own calibrator (included in the Displays preference) but the color on the 20" ACD is significantly warmer/mor

  • Is there a way to manage startup programs to help find conflicts?

    I recently installed a program called Print It! and have found that it locks up when I try to open its help window. This problem doesn't occur if I do a safe boot, so I'm assuming there is some conflict with programs that are automatically loaded at

  • Emailing Video files

    I need to send a video by email but at the moment it is on a DVD. It has file endings BUP, IFO, and VOB. I attempted to import them into FCP7 but it would only accept the VOB file. Any ideas?

  • Why does my ipod touch take an hour to restore?

    There's nothing I've really added to it (no videos, etc) to fill it up, but every time I try to restore it takes forever. I have several other ipods and have never had this problem before. Kate

  • Bapi to create a Transfer Order from a Transfer Requirement.

    Hi everybody, Does anybody know wich bapi or FM can I use to create a TO from a TR in a putaway process? Thanks and Regards,