No jre version found in launch file
I'm using jdk1.5.0_03 (with all other versions of java removed from my system) and trying to run our web start app that specifies a version of 1.4.2*. After clicking the link to the jnlp file, web start contacts sun to retrieve 1.4.2*, then gives the dialog: "unable to launch FlowJo" (our app). On the details tab, it reports: "No JRE version found in launch file for this system".
When I launch the web start manager, under the user applications tab, I see 3 applications: our app, our installer, and Sun's j2re1.4.2_07 installer. It seems like Sun's installer is being downloaded but never executed.
Am I doing something wrong in my jnlp files? Both our app jnlp and our installer jnlp specify a j2se version of 1.4.2*. Below are the files and exception as reported from the web start dialog. I'm trying to set our app up for internal testing with web start, so I'm using a local ip. Our application uses a custom installer which has its own jnlp file (shown below in "launch file").
Any help is much appreciated,
Peter
Launch File:
<?xml version="1.0" encoding="utf-8"?>
<jnlp codebase="http://192.168.1.33/flowjo/current/installer/">
<information>
<title>FlowJo Installer</title>
<vendor>Tree Star, Inc.</vendor>
<homepage href="http://www.flowjo.com"/>
<icon href="images/logo2fin.gif"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources os="Windows" arch="x86">
<j2se version="1.4.2*" maximum-heap-size="512m" href="http://java.sun.com/products/autodl/j2se" />
<jar href="http://192.168.1.33/flowjo/current/installer//installer.jar" />
</resources>
<installer-desc main-class="com.treestar.flowjo.install.JNLPInstaller"/></jnlp>
Main launch file:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="http://192.168.1.33/flowjo/current/flowjo/">
<information>
<title>Flowjo </title>
<vendor>Tree Star, Inc.</vendor>
<icon href="images/logo2fin.gif"/>
<offline-allowed/>
<shortcut online="false">
<desktop/>
<menu submenu="Flowjo "/>
</shortcut>
<association extensions="wsp" mime-type="x-application/wsp"/>
<association extensions="wspt" mime-type="x-application/wspt"/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4.2*" initial-heap-size="128M" max-heap-size="512M" href="http://java.sun.com/products/autodl/j2se" />
<jar href="flowjo.jar" />
<jar href="resources.jar" />
<extension name="FlowJo Installer" href="http://192.168.1.33/flowjo/current/installer/installer.jnlp"/>
</resources>
<resources os="Windows">
<nativelib href="http://192.168.1.33/flowjo/current/lib/FlowJoEngine.DLL.jar"/>
</resources> <application-desc main-class="com.treestar.flowjo.Main" />
</jnlp>
Exception:
JNLPException[category: Launch File Error : Exception: null : LaunchDesc:
<jnlp spec="1.0+" codebase="http://192.168.1.33/flowjo/current/installer/">
<information>
<title>FlowJo Installer</title>
<vendor>Tree Star, Inc.</vendor>
<homepage href="http://www.flowjo.com"/>
<icon href="http://192.168.1.33/flowjo/current/installer/images/logo2fin.gif" kind="default"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se href="http://java.sun.com/products/autodl/j2se" version="1.4.2*"/>
<jar href="http://192.168.1.33/flowjo/current/installer//installer.jar" download="eager" main="false"/>
</resources>
<installer-desc main-class="com.treestar.flowjo.install.JNLPInstaller"/>
</jnlp> ]
at com.sun.javaws.Launcher.executeInstallers(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
The use of an earlier jre in the resource tag does no
good:
<resources>
<j2se version="1.4.1" />
Still gives the same error;
JNLPException[category: Launch File Error : Exception: null : LaunchDesc:
<jnlp spec="1.0+" codebase="http://show.docjava.com:8086/book/cgij/code/jnlp/" href="http://show.docjava.com:8086/book/cgij/code/jnlp/bookExamples.ch44Printing.cdLabel.CdLabelPrinterMain.jnlp/">
<information>
<title>Experimental Labeler</title>
<vendor>DocJava, Inc.</vendor>
<homepage href="http://www.docjava.com"/>
<description>CD Label Printer
</description>
<description kind="short">
Printer
</description>
<description kind="one-line">CD Label Printer
</description>
<description kind="tooltip">CD Label Printer
</description>
<icon href="http://show.docjava.com:8086/consulti/docjava.jpe" kind="default"/>
</information>
<application-desc main-class="bookExamples.ch44Printing.cdLabel.CdLabelPrinterMain"/>
</jnlp> ]
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:186)
at com.sun.javaws.Launcher.run(Launcher.java:167)
at java.lang.Thread.run(Thread.java:552)
Can someone please help?
Thanks!
- DL
Similar Messages
-
No JRE version found in launch file for this system
Hi,
I have an application which is launched by JWS.
When we use JWS from 1.4, it runs fine. But JWS from 1.5.0_15 gives the error "No JRE version found in launch file for this system"
In both the JWS(1.4 and 1.5.0_15)cases, we install JRE1.5.0_15 using the installer and used for invoking the application.
We invoke mailclient.jnlp, which inturn invokes the installer.jnlp and KanaJreInstaller.asp
<<mailclient.jnlp>>
<?xml version="1.0" encoding="utf-8"?>
<jnlp
spec="1.0"
codebase="http://mpshanmu-gx520:80/10r3/"
href="mailclient.jnlp">
<information>
<title>KANA Agent</title>
<vendor>KANA Software, Inc.</vendor>
<homepage href="http://www.kana.com"/>
<description>KANA Suite 10.3.0</description>
<icon href="images/mail_logo.gif"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="KANA1.5.0_15" href="KanaJreInstaller.asp"/>
<jar href="lib/mailclient_s.jar"/>
<jar href="lib/link_s.jar"/>
<jar href="lib/spell_s.jar"/>
<jar href="lib/ssce_s.jar"/>
<jar href="lib/kc_framework_s.jar"/>
<jar href="lib/kc_sharedGUI_s.jar"/>
<jar href="lib/xalan_s.jar"/>
<jar href="lib/xerces_s.jar"/>
<jar href="lib/java2com_s.jar"/>
<jar href="lib/jgl3.1.0_s.jar"/>
<jar href="lib/rsrcbundle_s.jar"/>
<jar href="lib/response_s.jar"/>
<jar href="lib/HTMLEditorEnterprise_s.jar"/>
<jar href="lib/jakarta-oro-2.0.4_s.jar"/>
<jar href="lib/jdic_s.jar"/>
<extension name="Sun Libraries" href="sunextensions.jnlp"/>
</resources>
<resources os="Windows">
<nativelib href="lib/windlls_s.jar"/>
<nativelib href="lib/jdic-native.jar"/>
</resources>
<application-desc main-class="kana.mail.wkstn.AppMain">
<argument>-serverlist</argument>
<argument>http://mpshanmu-gx520:80/10r3/servers.xml</argument>
</application-desc>
</jnlp>
<<KanaJreInstaller.asp>>
<%@ language="vbscript"%>
<%
Response.ContentType="application/x-java-jnlp-file"
Response.AddHeader "x-java-jnlp-version-id","KANA1.5.0_15"
dim fs,f,ts
set fs=Server.CreateObject("Scripting.FileSystemObject")
Set f=fs.GetFile("C:\Program Files\KANA\KANA Response Web Server_10r3\installer.jnlp")
Set ts=f.OpenAsTextStream(1)
Response.Write(ts.ReadAll)
ts.Close
set ts=nothing
set f=nothing
set fs=nothing
%>
<<installer.jnlp>>
<?xml version="1.0" encoding="utf-8"?>
<jnlp
spec="1.0"
codebase="http://mpshanmu-gx520:80/10r3/"
href="installer.jnlp">
<information><title>KANA J2RE 1.5.0_15 Installer</title>
<vendor>KANA Software, Inc.</vendor>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.3+"/>
<jar href="lib/installer.jar"/>
<jar href="lib/JRE_KANA1.5.0_15.jar"/>
<property name="jre.container" value="JRE_KANA1.5.0_15.jar"/>
<property name="jre.execute" value="bin\\javaw.exe"/>
<property name="jre.version" value="KANA1.5.0_15"/>
</resources>
<installer-desc main-class="JREInstaller"/>
</jnlp>
Thanks>
We are using sun JRE(1.5.0_15) only. We extract Sun JRE and build it as KANAJRE.jar and signing.>I have never heard of KANAJRE. Would you care to post a link to the site, or should we just keep guessing? (My patience for random guesses is running out.)
>
We install using Intaller class and that is getting listed in the Java Control panel and enabled too.>List as what?
Does it list it with the entire string "KANA1.5.0_15" or is is just listed as "1.5.0_15"?
Because this line from the JNLP file..
<j2se version="KANA1.5.0_15" href="KanaJreInstaller.asp"/>..had me convinved it was a non-Sun JRE. Not so much the href, but most especially the version attribute.
If it really is the Sun JRE, I would expect this to work.
<j2se version="1.5.0_15" href="KanaJreInstaller.asp"/>And as an aside. If this installer is giving you trouble and the app. requires the 1.5.0_15 JRE, why not simply the default Sun JRE installer? What advantages do you think this installer offers? -
No jre version found in launch file error
I am trying to launch an application using jre 1.6.0_04 and get the error< "no JRE version found in launch file for this system"
i do have the proper jre installedpost the jnlp file and forum can see what the syntax errors are.
/Andy -
Topology Services Applet error: "No JRE found in configuration file."
Is there an issue with IE7 and opening up Topology Services? Or can someone guide me in fixing this error message?
I'm using LMS 3.1 and had uninstalled all of my Java versions and installed jre-6u5-windows-i586-p_withjacorb.exe on my client. However, when I clicked the Topology Services link I would get the Java splash window for a bit and then nothing happened (the next two applet windows wouldn't load).
When I tried to launch Topology Services from another box using IE6, everything worked fine. I tried the same steps above on another box with IE 7 and that worked fine too.
So I tried a few installs and uninstalls of different Java versions and found that if the version was other than 6_5, I'd get the Java splash screen with the first applet window telling me I had the wrong version. When I'd uninstall all Java versions again, reboot, then install the correct Java version, I wouldn't get anything past the first Java splash screen. After a few attempts at this, I now receive the following error when I click on Topology Services, "Bad installation. No JRE found in configuration file."
How can I get to this configuration file on my client to let it know that I do indeed have the right version of Java on my box?
--JeffCampus 5.1 works just fine with IE 7.0 and JRE 1.6.0_5. It sounds like this particular client may be in bad shape. Typically, I recommend one uninstall all versions of Java from a client, reboot, then install the one version that comes with LMS. I also recommend that for IE, one adds the LMS server as a Trusted Site in IE. You might also try disabling anti-virus software temporarily to see if that helps.
For Campus 5.1, you will also need to open TCP ports 42342 and 43242 from client to server.
It may be that this client is in such bad shape that it will need to be rebuilt to get Java working correctly. -
# Question
Firefox crashes and when attempting to launch after the crash it won't launch; throwing an error msg that " js.3250 can't be found" - but same file is in Mozilla directory.
I must then download new 3.6.8 and lose all tabs and history.I have a similar problem. Recently my FF8 has been crashing a lot. It regularly locks up an entire core of my PC and often just shuts down. It has just done it a moment ago and when it started back up it did the whole "this is embarrassing" thing and asked me if I wanted to reload my tabs. I deselected the one that I was trying to view as I suspected that it may have been the cause (unlikely; it was node4.co.uk) but anyway, let's skip it just in case. Click on the button to restore and up pops my homepage only. So all of my other tabs, which I was using for work incidentally, are gone.
This is not the first time this has happened on FF8. It happened a lot recently on FF6 I think it was (so hard to keep track now, Mozilla) and I switched to Chrome as a result, but it turns out that it crashes even more than FF6 did. FF7 was a vast improvement but FF8 is so unstable/unpredictable for me at the moment that I think I'd rather use IE9 than this. It's driving me mental, clearly! I wish I could kill the process manually and have it retry restoring tabs. Hey, there's an idea Mozilla; give us a menu item that allows us to restore the session to how it started to try again or at the very least get a list of the pages we were looking at. They don't show up in Recently Closed Windows and the Restore Previous Session is greyed out too. Gah! Help! -
Jar file for multiple client JRE version
I have two jar file. Fjtable.jar & fjtable16.jar
fjtable.jar is for clients those who are using JRE 1.5 & fjtable16.jar is for jre 1.6 version client Users.
both the jar file i have given in
In formsweb.cfg :
Archive = fjtable.jar , fjtable16.jar
But this give error when accessing forms for those jre1.5 users.
Exception in thread "AWT-EventQueue-2" java.lang.UnsupportedClassVersionError: Bad version number in .class file
How do i give a condition in formsweb.cfg, if client java is jre1.5 then use fjtable.jar else use fjtable16.jar.It's used in the page that calls the Forms configuration with the correct jars : this should tell you which JRE your client is on and can be adapted for your config:
<html>
<body>
<table width="100%">
<tr><td>Click on the link below to run your app:
<script src="http://www.java.com/js/deployJava.js"></script>
<script>
var version = '1.6' ;
if (deployJava.versionCheck(version)) {
document.write("<a href=\"http://myhost.local/forms/frmservlet?config=app16\">MyApp v1.6</a>");
} else {
document.write("<a href=\"http://myhost.local/forms/frmservlet?config=app15\">MyApp v1.5</a>");
</script>
</td></tr>
</table>
</body>
</html>PS. Thanks Francois I'm sure this'll come in useful at some point know how to do this :)
Steve -
I uninstalled itunes, downloaded new version and the setup file won't launch. I'm running Windows Vista 64-bit. Can anyone help?
Is there an error message when you try to launch the iTunesSetup.exe (or iTunes64Setup.exe)? If so, what does it say? (Precise text, please.)
-
Agent Download files, JRE version
It seems the packages staged on my OEM host are using an old version of JRE, even 10.2.0.4.0. After pushing the agent to a Siebel gateway windows host, we are seeing the agent hold on to a critical Siebel file, siebns.dat. The application needs to alter this file from time to time but can't, several hours after a reboot. The OEM agent has been shutdown on the enterprise hosts. Siebel 8 is certified for JRE version 1.5 or higher. An SR has been opened on the Siebel side of Oracle so I'm expecting them to tell me to talk to the DB side of the house.
What is the easiest way to update the JRE on my Windows host? No other versions of Java are installed on the host where the problem lives.
C:\OracleHomes\agent10g\jdk\bin>java -version
java version "1.4.2_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_14-b05)
Java HotSpot(TM) Client VM (build 1.4.2_14-b05, mixed mode)
ThanksI installed both in Jan.
./opatch lsinventory
Invoking OPatch 10.2.0.4.1
Oracle interim Patch Installer version 10.2.0.4.1
Copyright (c) 2007, Oracle Corporation. All rights reserved..
Oracle Home : /u01/app/oracle/product/10.2.0/agent10g
Central Inventory : /u01/app/oracle/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.4.1
OUI version : 10.2.0.4.0
OUI location : /u01/app/oracle/product/10.2.0/agent10g/oui
Log file location : /u01/app/oracle/product/10.2.0/agent10g/cfgtoollogs/opatch/opatch2009-02-15_20-08-33PM.log
Lsinventory Output file location : /u01/app/oracle/product/10.2.0/agent10g/cfgtoollogs/opatch/lsinv/lsinventory2009-02-15_20-08-33PM.txt
Installed Top-level Products (2):
Enterprise Manager Patchset 10.2.0.4.0
Oracle Management Agent 10.2.0.1.0
There are 2 products installed in this Oracle Home.
Interim patches (3) :
Patch 6776317 : applied on Tue Jan 27 11:12:36 PST 2009
Created on 19 Mar 2008, 07:05:39 hrs PST8PDT
Bugs fixed:
6788132, 6776317, 6457795
Patch 5961654 : applied on Tue Mar 18 13:53:21 PDT 2008
Created on 2 May 2007, 06:53:19 hrs PST8PDT
Bugs fixed:
5961654
./opatch lsinventory
Invoking OPatch 10.2.0.4.1
Oracle interim Patch Installer version 10.2.0.4.1
Copyright (c) 2007, Oracle Corporation. All rights reserved..
Oracle Home : /u01/app/oracle/product/10.2.0/oms10g
Central Inventory : /u01/app/oracle/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.4.1
OUI version : 10.2.0.4.0
OUI location : /u01/app/oracle/product/10.2.0/oms10g/oui
Log file location : /u01/app/oracle/product/10.2.0/oms10g/cfgtoollogs/opatch/opatch2009-02-15_20-12-23PM.log
Lsinventory Output file location : /u01/app/oracle/product/10.2.0/oms10g/cfgtoollogs/opatch/lsinv/lsinventory2009-02-15_20-12-23PM.txt
Installed Top-level Products (2):
Enterprise Manager Patchset 10.2.0.4.0
Oracle Enterprise Manager Grid Console 10.2.0.1.0
There are 2 products installed in this Oracle Home.
Interim patches (6) :
Patch 6728328 : applied on Tue Jan 27 10:52:18 PST 2009
Created on 19 Mar 2008, 23:36:19 hrs PST8PDT
Bugs fixed:
6450302, 6619413, 6458306, 6312946, 6312567, 6728328, 6469169
Patch 4865772 : applied on Tue Mar 18 12:32:33 PDT 2008
Created on 23 Dec 2005, 16:52:33 hrs US/Pacific
Bugs fixed:
4865772
Patch 5984608 : applied on Tue Mar 18 12:12:40 PDT 2008
Created on 27 May 2007, 23:53:18 hrs US/Pacific
Bugs fixed:
5984608
Patch 5632264 : applied on Tue Mar 18 12:12:24 PDT 2008
Created on 15 Feb 2007, 22:00:53 hrs US/Pacific
Bugs fixed:
5632264
Patch 5697416 : applied on Tue Mar 18 12:12:13 PDT 2008
Created on 9 Jul 2007, 06:10:08 hrs PST8PDT
Bugs fixed:
5697416
Patch 4620348 : applied on Mon Aug 27 06:09:14 PDT 2007
Created on 19 Sep 2005, 16:36:10 hrs
Bugs fixed:
4620348
OPatch succeeded.
Patch 5632264 : applied on Tue Mar 18 13:53:01 PDT 2008
Created on 26 Dec 2006, 02:50:30 hrs PST8PDT
Bugs fixed:
5632264
OPatch succeeded. -
JRE not found, while installing Oracle 9i on Fedora Core 5
I am installing Oracle 9i on Fedora Core 5 from the following site.
http://ivan.kartik.sk/oracle/install_ora9_fedora.html
The site asks me to Download the Java Runtime Enviroment (j2re-1_3_1_15-linux-i586.bin) from the Sun website.
extract the file and put it in /opt directory. And edit Disk1/install/linux/oraparam.ini and modify JRE_LOCATION variable to /opt/jre1.3.xx
I have downloaded JRE version jre1.3.1_19 as this is the version available from the sun site, and put it in the /opt directory.
[oracle@localhost Disk1]$ cd /opt
[oracle@localhost opt]$ ls -l
total 24
drwxr-xr-x 6 root root 4096 Aug 19 2006 jre1.3.1_19
My oraparam.ini settings are:
[oracle@localhost ~]$ cat Disk1/install/linux/oraparam.ini
[Oracle]
JRE_LOCATION=/opt/jre1.3.1_19
However, after doing these changes when I use /home/oracle/Disk1/runInstaller, i get the following error:
[oracle@localhost Disk1]$ pwd
/home/oracle/Disk1
[oracle@localhost Disk1]$ ./runInstaller
[oracle@localhost Disk1]$ The Java RunTime Environment was not found at /tmp/OraInstall2008-04-29_07-09-15AM/jre/bin/java. Hence, the Oracle Universal Installer cannot be run.
Please visit http://www.javasoft.com and install JRE version 1.3.1 or higher and try again.
: No such file or directoryIvan Kartik:
I have installed Oracle 9i on Fedora 5.
I am able to login using sqlplus 'sys/sys as sysdba'
and start the database using startup
However, there were problems starting Configuration Assistant services and HTTP Server.
Here are the details:
Launched configuration tool Agent Configuration Assistant
Command which is being spawned is /opt/oracle/920/JRE/bin/jre -classpath /opt/oracle/920/JRE/lib/rt.jar:/opt/oracle/920/jlib/srvm.jar:/opt/oracle/920/network/agent/agentca.jar oracle.agent.AgentCA /orahome /opt/oracle/920 /nodeinfo NO_VALUE
Configuration tool Agent Configuration Assistant failed
Parameter "orahome" = /opt/oracle/920
Parameter "nodeinfo" = NO_VALUE
Agent Service Failed
Result code for launching of configuration tool is 1
Launched configuration tool Starting HTTP Server
Command which is being spawned is /opt/oracle/920/Apache/Apache/bin/apachectl startssl
Invalid Exit Code. The following result code will be used for configuration tool: 1
Configuration tool Starting HTTP Server failed
/opt/oracle/920/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
/opt/oracle/920/Apache/Apache/bin/apachectl startssl: httpd could not be started
Result code for launching of configuration tool is 1
Launched configuration tool Agent Configuration Assistant
Command which is being spawned is /opt/oracle/920/JRE/bin/jre -classpath /opt/oracle/920/JRE/lib/rt.jar:/opt/oracle/920/jlib/srvm.jar:/opt/oracle/920/network/agent/agentca.jar oracle.agent.AgentCA /orahome /opt/oracle/920 /nodeinfo NO_VALUE
Configuration tool Agent Configuration Assistant failed
Parameter "orahome" = /opt/oracle/920
Parameter "nodeinfo" = NO_VALUE
Agent Service Failed -
Java error message - Bad version number in .class file
I get the error noted below in Safari, Firefox, and Chrome when I try to view java containing web pages.
Specifically this page: http://aviationweather.gov/adds/tafs/java/
My Java Preferences are as follows
My OS is 10.5.8
Thanks!
Java Plug-in 1.6.0_26
Using JRE version 1.5.0_30-b03-389-9M3425 Java HotSpot(TM) Client VM
User home directory = /Users/ernest
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Plugin2ClassLoader.java :1014)
at sun.plugin2.applet.Plugin2ClassLoader.access$100(Plugin2ClassLoader.java:69)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Plugin2ClassLoader.java:991)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Plugin2ClassLoader.java:9 55)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:134)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:250)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:180)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:161)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:675)
at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:3046)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.ja va:1498)
at java.lang.Thread.run(Thread.java:655)
Exception: java.lang.UnsupportedClassVersionError: Bad version number in .class fileHi, thank you for the reply. However, java is definitely enabled on my computer, on all my browsers. In fact, if I go to the SUN website and run the java test, I get that all is OK.
I think it may have something to do with the .class (maybe in .jar-file) compiled with a higher version of java than the virtual machine trying to run it.
The example I found (google search) is .class-file that is compiled with JDK 6 and I am trying to run it with 1.4 JVM.
There is some software error going on somewhere... but I do not know enough to fix it.
Many thanks for all your help -
ERROR: Invalid java version found: while runing Autoconfig
Hi
while upgrading EBS 12.1.3 Database from 11.1.0.7 to 11.2.0.2
We got the below error on autoconfig.
F:\app\mocppd\product\11.2.0\dbhome_1\appsutil>F:\app\mocppd\product\11.2.0\dbho
me_1\appsutil\bin\adconfig.cmd contextfile=prod_srv-moc.xml
Enter the APPS user password: apps
cygwin warning:
MS-DOS style path detected: F:\app\mocppd\product\11.2.0\dbhome_1\appsutil\bin
\adconfig.pl
Preferred POSIX equivalent is: /cygdrive/f/app/mocppd/product/11.2.0/dbhome_1/
appsutil/bin/adconfig.pl
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
The log file for this session is located at: F:\app\mocppd\product\11.2.0\dbhome
_1/appsutil/log/prod_srv-moc/02040321/adconfig.log
AutoConfig is configuring the Database environment...
AutoConfig will consider the custom templates if present.
Using ORACLE_HOME location : F:\app\mocppd\product\11.2.0\dbhome_1
ERROR: Invalid java version found:
sh: F:appmocppdproduct11.2.0dbhome_1jdkjre/bin/java: No such file or dir
ectory
ERROR: Invalid java version found:
sh: F:appmocppdproduct11.2.0dbhome_1jdkjre/bin/java: No such file or dir
ectory
Classpath :
sh: - : invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
Version Conflicts among development maintained and customized templates encounte
red; aborting AutoConfig run.
The logfile for this session is located at: F:\app\mocppd\product\11.2.0\dbhome_
1/appsutil/log/prod_srv-moc/02040321/adconfig.logThanks
NawneetHi Helios,
I have changed the prod_srv-moc.xml script and executed the script.
And now i got the below error.
F:\app\mocppd\product\11.2.0\dbhome_1\appsutil>F:\app\mocppd\product\11.2.0\dbho
me_1\appsutil\bin\adconfig.cmd contextfile=prod_srv-moc.xml
Enter the APPS user password: apps
cygwin warning:
MS-DOS style path detected: F:\app\mocppd\product\11.2.0\dbhome_1\appsutil\bin
\adconfig.pl
Preferred POSIX equivalent is: /cygdrive/f/app/mocppd/product/11.2.0/dbhome_1/
appsutil/bin/adconfig.pl
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
The log file for this session is located at: F:/app/mocppd/product/11.2.0/dbhome
_1/appsutil/log/prod_srv-moc/02040605/adconfig.log
AutoConfig is configuring the Database environment...
AutoConfig will consider the custom templates if present.
Using ORACLE_HOME location : F:/app/mocppd/product/11.2.0/dbhome_1
Classpath : :F:/app/mocppd/product/11.2.0/dbhome_1/jdb
c/lib/ojdbc6.jar:F:/app/mocppd/product/11.2.0/dbhome_1/appsutil/java/xmlparserv2
.jar:F:/app/mocppd/product/11.2.0/dbhome_1/appsutil/java:F:/app/mocppd/product/1
1.2.0/dbhome_1/jlib/netcfg.jar:F:/app/mocppd/product/11.2.0/dbhome_1/jlib/ldapjc
lnt11.jar
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/apps/ad/tools/
configuration/VersionConflictListGenerator
Caused by: java.lang.ClassNotFoundException: oracle.apps.ad.tools.configuration.
VersionConflictListGenerator
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: oracle.apps.ad.tools.configuration.VersionConflic
tListGenerator. Program will exit.
ERROR: Version Conflicts utility failed.
Terminate.
The logfile for this session is located at: F:/app/mocppd/product/11.2.0/dbhome_
1/appsutil/log/prod_srv-moc/02040605/adconfig.log
Thanks
Nawneet -
JRE version problem (XML Parsing)
Hi,
I posted a question earlier about an issue I'm having with an applet running in the Eclipse IDE but not in-browser. I have checked the JRE version for both and the browser is running 1.6.0_01 and the IDE is running 1.5.0_06. Now I could uninstall the former to force the browser to load the latter I believe but that doesn't solve the issue as I would need it to run on the newer JRE version.
So my question is, what would cause the following error to occur in a later version of the JRE?
Exception in thread "Thread-9" javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
Thanks in advance,
DanIt has nothing to do with new or old version of jre it has to do that the explorer jre (5) can not find the jar file it needs. It is looking for the class org.apache.xerces.jaxp.DocumentBuilderFactoryImpl but it can not find it.
In you Eclipse you do have this jar that's why it is running, just copy the jar to the lib or lib/ext folder in the jre 5 and everything should work. -
JRE not found during 9i installation
Hello guys,
I know this is not the right section to post installation errors. However, this is more of a cofiguration error during the time of setting up Oracle 9i on RHEL 4 enviroment.
I am trying to install Oracle 9i R2 on RHEL 4.. on HP ProLiant DL380 G5
All the rpms and packages seem to be in place, and i dont think that there are any failed dependencies.
I have also downloaded JRE 6 and installed it, it was a .bin file and it got extracted on the desktop itself... However I also installed SDK 6.
But while i want to install oracle 9i after issuing the command ./runInstaller
I recieve this error.
[oracle@ssdcl308 Disk1]$ The Java RunTime Environment was not found at F/bin/java. Hence, the Oracle Universal Installer cannot be run.
Please visit http://www.javasoft.com and install JRE version 1.3.1 or higher and try again.
: No such file or directory
I fail to understand what F/bin/java stands for.. meaning "F".
There is no partition or drive or any folder with the name F.
However i do see java installed at /usr/local/
This is my .bash_profile
unset USERNAME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/9.2.0; export ORACLE_HOME
ORACLE_TERM=xterm; export ORACLE_TERM
export NLS_LANG=AMERICAN
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export PATH=$PATH:$ORACLE_HOME/bin
ORACLE_OWNER=oracle; export ORACLE_OWNER
ORACLE_SID=ssdcl308; export ORACLE_SID
LD_ASSUME_KERNEL=2.4.19; export LD_ASSUME_KERNEL
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
I am unable to resolve this issue, I will provide more relevant info once asked.
Regards
nullWell i just added
export PATH=$PATH:$ORACLE_HOME/bin:/usr/local:/usr/local/bin:/usr/bin
export JAVA_HOME=/usr/local/java
yet i get the same error.
Am i missing something here??
Is it something to do with the "F" thing at F/usr/local
Message was edited by:
user631485
Message was edited by:
user631485
Message was edited by:
user631485 -
All jre versions now available for autodl.
A new jre autodownload servlet has now been put in production by Sun that can serve to java web start (and also the new OOPP plugin in 6u10) any veresion of the jre (from 1.4.2 on)
/AndyWhen we use the following syntax in the JNLP file, an exception message of "Unable to launch 1.6...installer" is displayed.
{color:#339966}<j2se version="1.6+" initial-heap-size="64m" max-heap-size="128m"/>
{color}{color:#000000}Not too long ago, Java Web Start successfully retrieved the most recent 1.6 installer if the JRE version on the target system was under 1.6.
What has changed?{color}
Edited by: kcchristoph on Jun 6, 2008 3:10 PM -
Determine if JRE version is compliant through Batch Script
I am deploying multiple programs to remote systems. Some of the programs require JRE 1.41 or later to run. I would like to create a bat script to not only identify the JRE version, but identify if the client has a newer version of JRE. So far I have been able to identify the latest version. However, I do not know how to compare to a later version of JRE. For example lets say JRE version 6.0 comes out. At this point the program will probably be compliant with my machine, but I don't know how to make my script identify later versions, since batch files only compare and don't have many math features. I thought about doing a comparison between every java version that has been deployed.(I haven't even found a comprehensive list either) But this may not provide support for newer versions of JRE Any suggestions? Below is what I have so far.
@echo off
start /w regedit /e reg1.txt "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment"
type reg1.txt | find "CurrentVersion" > reg2.txt
for /f "tokens=2 delims==" %%x in (reg2.txt) do set JavaTemp=%%~x
if %JavaTemp% == 1.41 echo G2G
if %JavaTemp% == 1.3 echo Failed. You need to upgrade JRE to at least 1.41does anyone know how (or if it's possible) to
determine if a JRE is the international version?
thanks.There is no API to provide this answer conclusively. However, one might guess.
For example, in the non-localized JRE, you will not have the Japanese locale support. So you could do something like this:
Locale[] supportedLocales = DateFormat.getAvailableLocales();
If the Locale array contains a Locale for ja_JP, then you have the international version. It's simple, but perhaps not the cleanest way of determining the answer to your question.
Regards,
John O'Conner
http://www.joconner.com/javai18n/
Maybe you are looking for
-
Help - URGENT On Dec 26/2012, I purchased a Toshiba 19 inch HD Led Television (Model # 19L4200U) at Vision Electronics #20, on 1440 Albert St. Regina, SK Canada. This was paid by Interac Chequing Account. Sales person #02059 Completed all the neces
-
"Configfree has stopped working" error on Satellite L300 running Win7_32bit
Full text message *ConfigFree Task Tray Menu has stopped working* Every time the USB modem (Huawei E352 HSPA USB stick) connects this error appears. Running Win7 Ultimate 32 bit. Did Google search: some reckon it's a virus, others reckon it's a hardw
-
OIM and OIA11g Integration(error while importing Resource metadata into OIA
Hi, I followed the below link and trying to integrate OIM 11.1.1.5 and OIA 11.1.1.3.6 And both are deployed different weblogic domains.. http://wikis.sun.com/display/OIA11gDocs/Integrating+With+Oracle+Identity+Manager,+Preferred+Method I am getting e
-
Recently, after cancelling the tick of a song, which is the next song after the one I am listening, in the song list, the canceled song will still run for the next song. I remember that it used not to happen like this. How can I solve this problem?
-
How to know which interfaces are going to which switch?
How to know which interfaces are going to which switch ? I know that cdp will show this information. But CDP will not show info about the devices connected to my device and whose link between is administratively down. Regards, Chandu