Jdev 9.0.5.1 with jdk 1.5.0_06
I developed a project with jdev 9.0.5 with its default jdk 1.4.2_08. Then I installed jdk1.5.0_06 on the system. Then I defined jdk1.5 to the project in the jdeveloper, I used ojvminstall.bat. When I "make" the project I get,
"Error: initialization error: class file has wrong version 49.0, should be 45.3 or 46.0 or 47.0 or 48.0 on classpath C:\jdk1.5.0_06\jre\lib\rt.jar;C:\jdk1.5.0_06\jre\lib\i18n.jar;C:\jdk1.5.0_06\jre\lib\sunrsasign.jar;C:\jdk1.5.0_06\jre\lib\jsse.jar;C:\jdk1.5.0_06\jre\lib\jce.jar;C:\jdk1.5.0_06\jre\lib\charsets.jar;...."
There is a problem about the jdk versions but I dont know how to solve.
Thanks...
I do not use libraries of JDK 1.5 . I make a simple program "HelloWorld". The code is the following :
*********SessionEJBBean.java
public class SessionEJBBean implements SessionBean
public void ejbCreate()
public void ejbActivate()
public void ejbPassivate()
public void ejbRemove()
public void setSessionContext(SessionContext ctx)
public String testEJB()
return "Hello World";
***************SessionEJBClient.java
public class SessionEJBClient
public static void main(String [] args)
SessionEJBClient sessionEJBClient = new SessionEJBClient();
try
Context context = getInitialContext();
SessionEJBHome sessionEJBHome = (SessionEJBHome)PortableRemoteObject.narrow(context.lookup("SessionEJB"), SessionEJBHome.class);
SessionEJB sessionEJB;
// Use one of the create() methods below to create a new instance
sessionEJB = sessionEJBHome.create();
System.out.println("Show "+sessionEJB.testEJB());
// Call any of the Remote methods below to access the EJB
// sessionEJB.testEJB( );
catch(Throwable ex)
ex.printStackTrace();
private static Context getInitialContext() throws NamingException
// Get InitialContext for Embedded OC4J.
// The embedded server must be running for lookups to succeed.
return new InitialContext();
I use JDeveloper 10.1.2.0.0.
The "make" is the following:
[10:08:54] Successful compilation: 0 errors, 0 warnings.
I "run" SessionEJB ,The error that shows to me is the following:
error #750: initialization error: class file has wrong version 49.0, should be 45.3, 46.0, 47.0 or 48.0 on classpath C:\Archivos de programa\Java\jdk1.5.0\jre\lib\ext\activation.jar;C:\Archivos de programa\Java\jdk1.5.0\jre\lib\ext\dnsns.jar;C:\Archivos de programa\Java\jdk1.5.0\jre\lib\ext\jxl.jar;C:\Archivos de programa\Java\jdk1.5.0\jre\lib\ext\localedata.jar;C:\Archivos de programa\Java\jdk1.5.0\jre\lib\ext\mail.jar;C:\Archivos de programa\Java\jdk1.5.0\jre\lib\ext\ojdbc14.jar;C:\Archivos de programa\Java\jdk1.5.0\jre\lib\ext\struts.jar;C:\Archivos de programa\Java\jdk1.5.0\jre\lib\ext\sunjce_provider.jar;C:\Archivos de programa\Java\jdk1.5.0\jre\lib\ext\sunpkcs11.jar;C:\Archivos de programa\Java\jdk1.5.0\jre\lib\rt.jar;C:\Archivos de programa\Java\jdk1.5.0\jre\lib\jsse.jar;C:\Archivos de programa\Java\jdk1.5.0\jre\lib\jce.jar;C:\Archivos de programa\Java\jdk1.5.0\jre\lib\charsets.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\oc4j.jar;C:\\Archivos de programa\\jdev1012\\jdev\\lib\\jdev-oc4j.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\ejb.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\servlet.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\ojsp.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\jndi.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\jdbc.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\iiop.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\iiop_gen_bin.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\jms.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\jta.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\jmxri.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\javax77.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\javax88.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\..\..\opmn\lib\optic.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\..\..\lib\dms.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\..\..\diagnostics\lib\ojdl.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\connector.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\bcel.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\cos.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\jsse.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\jnet.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\jcert.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\activation.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\mail.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\..\..\javavm\lib\jasper.zip;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\..\..\lib\xmlparserv2.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\jaxp.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\jaas.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\jazn.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\..\..\jdbc\lib\classes12dms.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\..\..\jdbc\lib\nls_charset12.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\..\..\soap\lib\soap.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\..\..\webservices\lib\wsserver.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\..\..\webservices\lib\wsdl.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\..\..\rdbms\jlib\aqapi.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\jem.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\http_client.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\..\..\jlib\jssl-1_1.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\..\..\sqlj\lib\runtime12ee.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\..\..\sqlj\lib\translator.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\lib\crimson.jar;C:\\Archivos de programa\\jdev1012\\BC4J\\lib;C:\\Archivos de programa\\jdev1012\\BC4J\\lib\\adfm.jar;C:\\Archivos de programa\\jdev1012\\BC4J\\lib\\adfmtl.jar;C:\\Archivos de programa\\jdev1012\\BC4J\\lib\\adfmweb.jar;C:\\Archivos de programa\\jdev1012\\BC4J\\lib\\bc4jct.jar;C:\\Archivos de programa\\jdev1012\\BC4J\\lib\\bc4jctejb.jar;C:\\Archivos de programa\\jdev1012\\BC4J\\lib\\bc4jdomorcl.jar;C:\\Archivos de programa\\jdev1012\\BC4J\\lib\\bc4jimdomains.jar;C:\\Archivos de programa\\jdev1012\\BC4J\\lib\\bc4jmt.jar;C:\\Archivos de programa\\jdev1012\\BC4J\\lib\\bc4jmtejb.jar;C:\\Archivos de programa\\jdev1012\\BC4J\\lib\\collections.jar;C:\\Archivos de programa\\jdev1012\\jlib\\ojmisc.jar;C:\\Archivos de programa\\jdev1012\\ord\\jlib\\ordim.jar;C:\\Archivos de programa\\jdev1012\\ord\\jlib\\ordhttp.jar;C:\\Archivos de programa\\jdev1012\\jlib\\share.jar;C:\\Archivos de programa\\jdev1012\\jlib\\regexp.jar;C:\\Archivos de programa\\jdev1012\\jlib\\jdev-cm.jar;C:\\Archivos de programa\\jdev1012\\lib\\oraclexsql.jar;C:\\Archivos de programa\\jdev1012\\lib\\xsqlserializers.jar;C:\\Archivos de programa\\jdev1012\\jlib\\bigraphbean.jar;C:\\Archivos de programa\\jdev1012\\jlib\\bigraphbean-nls.zip;C:\\Archivos de programa\\jdev1012\\jlib\\jewt4.jar;C:\\Archivos de programa\\jdev1012\\toplink\\jlib\\toplink.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\applib;C:\\Archivos de programa\\jdev1012\\sqlj\\lib;C:\\Archivos de programa\\jdev1012\\sqlj\\lib\\runtime.jar;C:\\Archivos de programa\\jdev1012\\sqlj\\lib\\runtime12.jar;C:\\Archivos de programa\\jdev1012\\lib\\xsu12.jar;C:\\Archivos de programa\\jdev1012\\lib\\dsv2.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\jsp\\lib\\taglib;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\jsp\\lib\\taglib\\jaxen.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\jsp\\lib\\taglib\\ojsputil.jar;C:\\Archivos de programa\\jdev1012\\j2ee\\home\\jsp\\lib\\taglib\\standard.jar;C:\\Archivos de programa\\jdev1012\\jdev\\lib\\jdev-rt.jar;C:\\Archivos de programa\\jdev1012\\jdev\\lib\\ojc.jar;D:\\ProyectosJDeveloper\\Application1\\Project\\classes;C:\\Archivos de programa\\jdev1012\\lib\\xmlcomp.jar;.
1 error
Error compiling D:\ProyectosJDeveloper\Application1\Project\classes: Syntax error in source
Error in application current-workspace-app: Error loading package at file:/D:/ProyectosJDeveloper/Application1/Project/classes/,
Error compiling D:\ProyectosJDeveloper\Application1\Project\classes: Syntax error in source
06/03/27 09:54:09 done.
06/03/27 09:54:09 Error instantiating application 'current-workspace-app' at file:/D:/ProyectosJDeveloper/Application1/Application1-oc4j-app.xml: Error initializing ejb-module; Exception Error in application current-workspace-app: Error loading package at file:/D:/ProyectosJDeveloper/Application1/Project/classes/,
Error compiling D:\ProyectosJDeveloper\Application1\Project\classes: Syntax error in source
Somebody can help me
Similar Messages
-
I installed JDeveloper 9.0.3.1 on a Red Hat 8 system with JDK 1.4.1_01 and have using it successfully for non-GUI, non-BC4J development. I have been following the discussions and understand there are potential problems but I haven't hit any yet and have really enjoyed the improved performance.
Over the weekend I also installed JDK 1.4.2_beta. I reinstalled JDeveloper 9.0.3.1. WOW! JDeveloper went from sluggish but useable to not bad at all (as did a lot of Java GUI apps I use).
I did find some new and interesting JDBC problems (ones I did not have with JDK 1.4.1_01) but was able to solve them by adding a library with the JDK 1.4.x specific JDBC drivers (ojdbc14.jar) to my projects.
My question is ... when (days, weeks, months?) will some version, preview or production, 9.0.3.x, 9.0.4, 9.0.5, whatever be supported (ie available on OTN) with JDK 1.4.x+ (preferably 1.4.2+)?
Thanks
R.Parr
Temporal ArtsThanks Robert.
I am assuming I may take this as confirmation that JDev 9.0.4 will, in fact, support JDK 1.4.x (hopefully including 1.4.2 as there appears to be a real performance bump from 1.4.1 to 1.4.2). Please correct me if I am wrong so that I may adjust my expectations.
I understand your inability and reluctance to provide precise dates. I do not ask for that. It would, however, aid my planning, and adjustment of expectations, if you could provide an estimate of JDev 9.0.4 availibility within an "order of calendar magnitude". That is, are we talking weeks, months, quarters, or years? As an example, at this time apps like Mozilla on Red Hat 9 seem to require use of the newest JDK 1.4.x. If a JDev which can run under 1.4.x will be unavailable for some time, I and my customer will have to install the older RH8 on new workstations. If it will be available in a relatively short time we can plan on the ability to use RH9.
Thanks again.
R.Parr
Temporal Arts -
JDeveloper 3.2.3 with jdk 1.4.0-beta2
Hi there,
had an application developed with Jdev3.2.3 and jdk 1.3.1-r2. Was working well, accept a small problem with minimize and maixmize items. Dropped the problem with sun and they said it would be solved with jdk 1.4.0-beta2.
Tried to define this within Jdev, but get the next error when rebuilding the code:
Error: (0) initialization error: class Error const *: class file has wrong version 48.0, should be 45.3 or 46.0.
If I build the code with javac from jdk 1.4.0 it builds correctly and runs ok.
anyone know if i can solve this ???I ran into a similiar problem with JBuilder 5. The answers on their boards indicate the problem traces to the change Sun made with versioniong class files in JDK1.4.
Someone offers a patch tool for JBuilder, but Borland does not support it. It will be interesting to see what Oracle does with this problem.
Mark -
Debugging with JDeveloper 2 with JDK 2
Oracle Jdev team,
I am running jdeveloper 2 (JDK 1.2), build 343. Whenever I
attempt to debug an app i get this error dialog:
Cannot debug project with Target JDK 'java
version "JDK1.2_JDEVELOPER'", can only debug with Target
JDK 'java version "1.2"'.
My Project Properties Target JDK Version is pointing to the java
1.2 java.exe that came with Jbuilder.
Path of java.exe
D:\Tools\JDeveloper20\java1.2\jre\bin\java.exe
Classpath
D:\Tools\JDeveloper20\java1.2\jre\lib\rt.jar
Sourcepath
[D:\Tools\JDeveloper20\java1.2\src.jar]\src\
I've attempted to use various 1.2 jdks to get the debugger to
work, but always with the same version.
The project began as a JDK 1.2 project (did not attempt to
switch from a jdk 1.1.x project).
I;m sure you've seen this before, what am I doing wrong???
THanks in advance, Peter
nullI have the same problem but even wierder.
When I try to debug my project JDeveloper says
Cannot debug project with Target JDK 'java version
"JDK1.1.7_JDeveloper'", can only debug with Target JDK 'java
version "1.1.8'".
I do indeed have such a Target JDK defined, but I have not
compiled anything in the current project with that. In fact I
haven't switched JDKs at all in this project, nor in this
workspace.
What gives?
Markus Burle (guest) wrote:
: JDeveloper Team (guest) wrote:
: : Hi
: : JDeveloper allows to use different JDK's but the debugger
only
: : works with JDK's that come with JDeveloper. If you are
pointing
: : to a JDK outside it will still work but the debugger will be
: : disabled.
: : regards
: : raghu
: The original poster (see below, marked with an X) IS using the
: JDK that comes with JDeveloper. I'm also using it and have the
: same problem.
: Markus
: : Peter (guest) wrote:
: : : Oracle Jdev team,
: : : I am running jdeveloper 2 (JDK 1.2), build 343. Whenever I
: : : attempt to debug an app i get this error dialog:
: X : Cannot debug project with Target JDK 'java
: X : version "JDK1.2_JDEVELOPER'", can only debug with Target
: X : JDK 'java version "1.2"'.
: X : My Project Properties Target JDK Version is pointing to
the
: X java
: X : 1.2 java.exe that came with Jbuilder.
: : : Path of java.exe
: : : D:\Tools\JDeveloper20\java1.2\jre\bin\java.exe
: : : Classpath
: : : D:\Tools\JDeveloper20\java1.2\jre\lib\rt.jar
: : : Sourcepath
: : : [D:\Tools\JDeveloper20\java1.2\src.jar]\src\
: : : I've attempted to use various 1.2 jdks to get the debugger
to
: : : work, but always with the same version.
: : : The project began as a JDK 1.2 project (did not attempt to
: : : switch from a jdk 1.1.x project).
: : : I;m sure you've seen this before, what am I doing wrong???
: : : THanks in advance, Peter
null -
Error while running Dev60 with jdk 11711o
Dear OTN Members / Oracle Development Team.
Have any one tried it. Help required form Oracle Devlopemnt
Team.
hi i am using oracle8 OAS 4.0.7, Developer 6.0 production
with NT 4.0 and service Pack 3
when i try to run the form through jinitinator or JDK provided
with the package i get the following error.
running with jinitator
Oracle JInitiator version 1.1.7.11
Using JRE version 1.1.7.11o
User home directory = E:\WINNT\Profiles\Administrator
Proxy Configuration: no proxy
java.io.FileNotFoundException: \forms60\f60all.jar
at java.io.FileInputStream.<init>(FileInputStream.java:56)
at sun.net.www.protocol.file.FileURLConnection.connect(Compiled
Code)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileUR
LConnection.java:162)
at
sun.net.www.protocol.http.HttpURLConnection.openConnectionCheckRe
directs(Compiled Code)
at
sun.applet.AppletCache.getInputStream(AppletCache.java:588)
at
sun.applet.AppletResourceLoader.loadJar(AppletResourceLoader.java
171)
at sun.applet.JinitAppletPanel.loadJarFiles(Compiled
Code)
at sun.plugin.AppletViewer.loadJarFiles(Compiled Code)
at
sun.applet.JinitAppletPanel.runLoader(JinitAppletPanel.java:500)
at sun.applet.JinitAppletPanel.run(Compiled Code)
at java.lang.Thread.run(Thread.java:466)
and with JDK
Microsoft (R) VM for Java, 5.0 Release 5.0.0.3165
==============================================
? help
c clear
f run finalizers
g garbage collect
m memory usage
q quit
t thread list
==============================================
com.ms.security.SecurityExceptionEx[oracle/forms/engine/Main.init
]: cannot access file E:\WINNT\Java\.hotjava
at com/ms/security/permissions/FileIOPermission.check
at com/ms/security/PolicyEngine.deepCheck
at com/ms/security/PolicyEngine.checkPermission
at com/ms/security/StandardSecurityManager.chk
at com/ms/security/StandardSecurityManager.checkRead
at java/io/File.exists
at java/io/File.mkdirs
at sun/applet/AppletViewer.<clinit>
at java/lang/ClassLoader.findSystemClass
at com/ms/vm/loader/URLClassLoader.loadClass
at java/lang/ClassLoader.loadClassInternal
at oracle/forms/engine/Main.init
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
Error getting package information: sun/applet
com.ms.packagemanager.PackageManagerException: Package not
ound
at com/ms/packagemanager/PackageManager.getPackage
at
com/ms/security/SecurityClassLoader.getSecurityInfoFromPackage
at
com/ms/security/SecurityClassLoader.findPackageManagerClass
at
com/ms/security/SecurityClassLoader.findPackageManagerClass
at com/ms/vm/loader/URLClassLoader.loadClass
at java/lang/ClassLoader.loadClassInternal
at oracle/forms/engine/Main.init
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
java.lang.ClassNotFoundException: sun.applet.AppletViewer
at com/ms/vm/loader/URLClassLoader.loadClass
at java/lang/ClassLoader.loadClassInternal
at oracle/forms/engine/Main.init
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
what could be the problem have any one encountered this kind of
problem.
pls help required.
mobeen
nullDear OTN Members / Oracle Development Team.
Have any one tried it. Help required form Oracle Devlopemnt
Team.
hi i am using oracle8 OAS 4.0.7, Developer 6.0 production
with NT 4.0 and service Pack 3
when i try to run the form through jinitinator or JDK provided
with the package i get the following error.
running with jinitator
Oracle JInitiator version 1.1.7.11
Using JRE version 1.1.7.11o
User home directory = E:\WINNT\Profiles\Administrator
Proxy Configuration: no proxy
java.io.FileNotFoundException: \forms60\f60all.jar
at java.io.FileInputStream.<init>(FileInputStream.java:56)
at sun.net.www.protocol.file.FileURLConnection.connect(Compiled
Code)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileUR
LConnection.java:162)
at
sun.net.www.protocol.http.HttpURLConnection.openConnectionCheckRe
directs(Compiled Code)
at
sun.applet.AppletCache.getInputStream(AppletCache.java:588)
at
sun.applet.AppletResourceLoader.loadJar(AppletResourceLoader.java
171)
at sun.applet.JinitAppletPanel.loadJarFiles(Compiled
Code)
at sun.plugin.AppletViewer.loadJarFiles(Compiled Code)
at
sun.applet.JinitAppletPanel.runLoader(JinitAppletPanel.java:500)
at sun.applet.JinitAppletPanel.run(Compiled Code)
at java.lang.Thread.run(Thread.java:466)
and with JDK
Microsoft (R) VM for Java, 5.0 Release 5.0.0.3165
==============================================
? help
c clear
f run finalizers
g garbage collect
m memory usage
q quit
t thread list
==============================================
com.ms.security.SecurityExceptionEx[oracle/forms/engine/Main.init
]: cannot access file E:\WINNT\Java\.hotjava
at com/ms/security/permissions/FileIOPermission.check
at com/ms/security/PolicyEngine.deepCheck
at com/ms/security/PolicyEngine.checkPermission
at com/ms/security/StandardSecurityManager.chk
at com/ms/security/StandardSecurityManager.checkRead
at java/io/File.exists
at java/io/File.mkdirs
at sun/applet/AppletViewer.<clinit>
at java/lang/ClassLoader.findSystemClass
at com/ms/vm/loader/URLClassLoader.loadClass
at java/lang/ClassLoader.loadClassInternal
at oracle/forms/engine/Main.init
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
Error getting package information: sun/applet
com.ms.packagemanager.PackageManagerException: Package not
ound
at com/ms/packagemanager/PackageManager.getPackage
at
com/ms/security/SecurityClassLoader.getSecurityInfoFromPackage
at
com/ms/security/SecurityClassLoader.findPackageManagerClass
at
com/ms/security/SecurityClassLoader.findPackageManagerClass
at com/ms/vm/loader/URLClassLoader.loadClass
at java/lang/ClassLoader.loadClassInternal
at oracle/forms/engine/Main.init
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
java.lang.ClassNotFoundException: sun.applet.AppletViewer
at com/ms/vm/loader/URLClassLoader.loadClass
at java/lang/ClassLoader.loadClassInternal
at oracle/forms/engine/Main.init
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
what could be the problem have any one encountered this kind of
problem.
pls help required.
mobeen
null -
A problem regarding set up of Oracle Lite 3.6.0.2.0 on Win 95, with JDK 1.1.8 and Java 2 SDK ( Ver 1.3 Beta)
After the installation of Oracle Lite 3.6.0.2.0 on a laptop (with WIN 95 OS), When I run Oracle Lite Designer from start menu, I receive following error message :
====================================
Invalid class name 'FILES\ORA95_2\LITE\DESIGNER\oldes.jar;C:\PROGRAM'
usage: java [-options] class
where options include:
-help print out this message
-version print out the build version
-v -verbose turn on verbose mode
-debug enable remote JAVA debugging
-noasyncgc don't allow asynchronous garbage collection
-verbosegc print a message when garbage collection occurs
-noclassgc disable class garbage collection
-ss<number> set the maximum native stack size for any thread
-oss<number> set the maximum Java stack size for any thread
-ms<number> set the initial Java heap size
-mx<number> set the maximum Java heap size
-classpath <directories separated by semicolons>
list directories in which to look for classes
-prof[:<file>] output profiling data to .\java.prof or .\<file>
-verify verify all classes when read in
-verifyremote verify classes read in over the network [default]
-noverify do not verify any class
-nojit disable JIT compiler
Please make sure that JDK 1.1.4 (or greater) is installed in your machine and CLASSPATH is set properly. JAVA.EXE must be in the PATH.
====================================
My ORACLE_HOME is c:\program files\ora95_2 and Oracle Lite is installed under the ORACLE_HOME in LITE\DESIGNER directory.
JDK version is 1.1.8 which is greater than 1.1.4 installed in c:\program files\jdk1.1.8, My PATH, and CLASSPATH are set in AUTOEXEC.BAT as follows:
set CLASSPATH=c:\Progra~1\jdk1.1.8\lib\classes.zip;c:\progra~1\ora95_2\lite\classes\olite36.jar;c:\progra~1\ora95_2\lite\designer\oldes.jar;c:\progra~1\ora95_2\lite\designer\swingall.j ar
PATH=C:\Progra~1\Ora95_2\bin;.;c:\Progra~1\jdk1.1.8\lib;c:\Progra~1\jdk1.1.8\bin;C:\Progra~1\Ora95_2\lite\Designer;C:\WIN95;C:\WIN95\COMMAND;C:\UTIL
And, I can run JAVA.EXE from any directory on command prompt.
With JAVA 2 SDK (ver 1.3 Beta) instead of JDK 1.1.8 I'm getting a different Error message as follows:
=============================
java.lang.NoClassFoundError: 'FILES\ORA95_2\LITE\DESIGNER\oldes.jar;C:\PROGRAM'
Please make sure that JDK 1.1.4 (or greater) is installed in your machine and CLASSPATH is set properly. JAVA.EXE must be in the PATH.
==============================
the PATH and CLASSPATH were set accordingly, as with JDK1.1.8, and there was no classes.zip in classpath
also the class file or the jar file looks weird or wrapped in the error message : 'FILES\ORA95_2\LITE\DESIGNER\oldes.jar;C:\PROGRAM'
Another interesting thing I noticed is if I run oldes.exe from Installation CD, the Oracle Lite Designer runs fine, and without error, I'm able to modify tables in the database of my laptop also.
Could someone shade some light on what am I doing wrong here ?
Thanks for help in advance .
Regards
Viral
nullOn 07/20/2015 06:35 AM, Itzhak Hovav wrote:
> hi
> [snip]
> [root@p22 eclipse]# cat eclipse.ini -startup
> plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
> --launcher.library
> plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807
>
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 256m
> --launcher.defaultAction
> openFile
> -vmargs
> -Xms40m
> -Xmx512m
> [snip]
Try this: http://wiki.eclipse.org/Eclipse.ini. You should have read the
sticky posts at forum's top for getting started help. -
Performance problems with jdk 1.5 on Linux plattform
Performance problems with jdk 1.5 on Linux plattform
(not tested on Windows, might be the same)
After refactoring using the new features from java 1.5 I lost
performance significantly:
public Vector<unit> units;
The new code:
for (unit u: units) u.accumulate();
runs more than 30% slower than the old code:
for (int i = 0; i < units.size(); i++) units.elementAt(i).accumulate();
I expected the opposite.
Is there any information available that helps?Here's the complete benchmark code I used:package test;
import java.text.NumberFormat;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Vector;
public class IterationPerformanceTest {
private int m_size;
public IterationPerformanceTest(int size) {
m_size = size;
public long getArrayForLoopDuration() {
Integer[] testArray = new Integer[m_size];
for (int item = 0; item < m_size; item++) {
testArray[item] = new Integer(item);
StringBuilder builder = new StringBuilder();
long start = System.nanoTime();
for (int index = 0; index < m_size; index++) {
builder.append(testArray[index]);
long end = System.nanoTime();
System.out.println(builder.length());
return end - start;
public long getArrayForEachDuration() {
Integer[] testArray = new Integer[m_size];
for (int item = 0; item < m_size; item++) {
testArray[item] = new Integer(item);
StringBuilder builder = new StringBuilder();
long start = System.nanoTime();
for (Integer item : testArray) {
builder.append(item);
long end = System.nanoTime();
System.out.println(builder.length());
return end - start;
public long getArrayListForLoopDuration() {
ArrayList<Integer> testList = new ArrayList<Integer>();
for (int item = 0; item < m_size; item++) {
testList.add(item);
StringBuilder builder = new StringBuilder();
long start = System.nanoTime();
for (int index = 0; index < m_size; index++) {
builder.append(testList.get(index));
long end = System.nanoTime();
System.out.println(builder.length());
return end - start;
public long getArrayListForEachDuration() {
ArrayList<Integer> testList = new ArrayList<Integer>();
for (int item = 0; item < m_size; item++) {
testList.add(item);
StringBuilder builder = new StringBuilder();
long start = System.nanoTime();
for (Integer item : testList) {
builder.append(item);
long end = System.nanoTime();
System.out.println(builder.length());
return end - start;
public long getArrayListIteratorDuration() {
ArrayList<Integer> testList = new ArrayList<Integer>();
for (int item = 0; item < m_size; item++) {
testList.add(item);
StringBuilder builder = new StringBuilder();
long start = System.nanoTime();
Iterator<Integer> iterator = testList.iterator();
while(iterator.hasNext()) {
builder.append(iterator.next());
long end = System.nanoTime();
System.out.println(builder.length());
return end - start;
public long getLinkedListForLoopDuration() {
LinkedList<Integer> testList = new LinkedList<Integer>();
for (int item = 0; item < m_size; item++) {
testList.add(item);
StringBuilder builder = new StringBuilder();
long start = System.nanoTime();
for (int index = 0; index < m_size; index++) {
builder.append(testList.get(index));
long end = System.nanoTime();
System.out.println(builder.length());
return end - start;
public long getLinkedListForEachDuration() {
LinkedList<Integer> testList = new LinkedList<Integer>();
for (int item = 0; item < m_size; item++) {
testList.add(item);
StringBuilder builder = new StringBuilder();
long start = System.nanoTime();
for (Integer item : testList) {
builder.append(item);
long end = System.nanoTime();
System.out.println(builder.length());
return end - start;
public long getLinkedListIteratorDuration() {
LinkedList<Integer> testList = new LinkedList<Integer>();
for (int item = 0; item < m_size; item++) {
testList.add(item);
StringBuilder builder = new StringBuilder();
long start = System.nanoTime();
Iterator<Integer> iterator = testList.iterator();
while(iterator.hasNext()) {
builder.append(iterator.next());
long end = System.nanoTime();
System.out.println(builder.length());
return end - start;
public long getVectorForLoopDuration() {
Vector<Integer> testVector = new Vector<Integer>();
for (int item = 0; item < m_size; item++) {
testVector.add(item);
StringBuilder builder = new StringBuilder();
long start = System.nanoTime();
for (int index = 0; index < m_size; index++) {
builder.append(testVector.get(index));
long end = System.nanoTime();
System.out.println(builder.length());
return end - start;
public long getVectorForEachDuration() {
Vector<Integer> testVector = new Vector<Integer>();
for (int item = 0; item < m_size; item++) {
testVector.add(item);
StringBuilder builder = new StringBuilder();
long start = System.nanoTime();
for (Integer item : testVector) {
builder.append(item);
long end = System.nanoTime();
System.out.println(builder.length());
return end - start;
public long getVectorIteratorDuration() {
Vector<Integer> testVector = new Vector<Integer>();
for (int item = 0; item < m_size; item++) {
testVector.add(item);
StringBuilder builder = new StringBuilder();
long start = System.nanoTime();
Iterator<Integer> iterator = testVector.iterator();
while(iterator.hasNext()) {
builder.append(iterator.next());
long end = System.nanoTime();
System.out.println(builder.length());
return end - start;
* @param args
public static void main(String[] args) {
IterationPerformanceTest test = new IterationPerformanceTest(1000000);
System.out.println("\n\nRESULTS:");
long arrayForLoop = test.getArrayForLoopDuration();
long arrayForEach = test.getArrayForEachDuration();
long arrayListForLoop = test.getArrayListForLoopDuration();
long arrayListForEach = test.getArrayListForEachDuration();
long arrayListIterator = test.getArrayListIteratorDuration();
// long linkedListForLoop = test.getLinkedListForLoopDuration();
long linkedListForEach = test.getLinkedListForEachDuration();
long linkedListIterator = test.getLinkedListIteratorDuration();
long vectorForLoop = test.getVectorForLoopDuration();
long vectorForEach = test.getVectorForEachDuration();
long vectorIterator = test.getVectorIteratorDuration();
System.out.println("Array for-loop: " + getPercentage(arrayForLoop, arrayForLoop) + "% ("+getDuration(arrayForLoop)+" sec)");
System.out.println("Array for-each: " + getPercentage(arrayForLoop, arrayForEach) + "% ("+getDuration(arrayForEach)+" sec)");
System.out.println("ArrayList for-loop: " + getPercentage(arrayForLoop, arrayListForLoop) + "% ("+getDuration(arrayListForLoop)+" sec)");
System.out.println("ArrayList for-each: " + getPercentage(arrayForLoop, arrayListForEach) + "% ("+getDuration(arrayListForEach)+" sec)");
System.out.println("ArrayList iterator: " + getPercentage(arrayForLoop, arrayListIterator) + "% ("+getDuration(arrayListIterator)+" sec)");
// System.out.println("LinkedList for-loop: " + getPercentage(arrayForLoop, linkedListForLoop) + "% ("+getDuration(linkedListForLoop)+" sec)");
System.out.println("LinkedList for-each: " + getPercentage(arrayForLoop, linkedListForEach) + "% ("+getDuration(linkedListForEach)+" sec)");
System.out.println("LinkedList iterator: " + getPercentage(arrayForLoop, linkedListIterator) + "% ("+getDuration(linkedListIterator)+" sec)");
System.out.println("Vector for-loop: " + getPercentage(arrayForLoop, vectorForLoop) + "% ("+getDuration(vectorForLoop)+" sec)");
System.out.println("Vector for-each: " + getPercentage(arrayForLoop, vectorForEach) + "% ("+getDuration(vectorForEach)+" sec)");
System.out.println("Vector iterator: " + getPercentage(arrayForLoop, vectorIterator) + "% ("+getDuration(vectorIterator)+" sec)");
private static NumberFormat percentageFormat = NumberFormat.getInstance();
static {
percentageFormat.setMinimumIntegerDigits(3);
percentageFormat.setMaximumIntegerDigits(3);
percentageFormat.setMinimumFractionDigits(2);
percentageFormat.setMaximumFractionDigits(2);
private static String getPercentage(long base, long value) {
double result = (double) value / (double) base;
return percentageFormat.format(result * 100.0);
private static NumberFormat durationFormat = NumberFormat.getInstance();
static {
durationFormat.setMinimumIntegerDigits(1);
durationFormat.setMaximumIntegerDigits(1);
durationFormat.setMinimumFractionDigits(4);
durationFormat.setMaximumFractionDigits(4);
private static String getDuration(long nanos) {
double result = (double)nanos / (double)1000000000;
return durationFormat.format(result);
} -
Is it possible to run OAS 10.1.2 with JDK 1.6 ???
Well on the one hand we have Oracle ADF BC application that was developed with JDeveloper 10.3.4 and runs fine on OAS 10.1.2 JDK 1.4 on the other hand we have a 3rd party Map Server (servlet + java code) that is black box and only runs on JDK 1.6 because it needs JDK 1.6 features.
Currently the only available course of going forward is to introduce a new open source 1.6 compliant server to run the Map Server and use AJAX to cross domain communicate the two. Client would like to avoid this, would like one application on one server.
Restrictions are
1) To get the Map Server in JDK 1.4 format is not an option and
2) Upgrading to a Oracle Server that is JDK 1.6 and supports the ADF BC application is not an option. And not sure if OAS 11 can run the ADF BC application since I did a quick test by trying to compile the ADF BC application JDeveloper 10.3.4 code in JDeveloper 11 with out any success.
So to my question if I could run OAS 10.1.2 JDK 1.6 it might solve the problem before i attempt that I like to ask the ideas of others that might have faced such integration issues before.
This is urgent any help is welcome by anyone and everyone and especially the Gurus.
thanks in advanced health and happiness to every oneAFAIK, Oracle AS 10.1.2 is not certified with JDK 1.5 or higher.
Oracle AS 10.1.3 is certified with JDK 1.5 and 1.6 on some platforms. (Check metalink.oracle.com -> certify for details)
Oracle FMW 11.1.1.0.1 (aka WebLogic 10.3 plus JDeveloper 11.1.1.0.1) is certified with JDK 1.6
Not certified means use it on your own risk - no support.
--olaf -
Yes, I know JDK 1.6 is not officially supported by JDeveloper 10.1.3.2.0.....
However up until now stability has been reasonably fair of the IDE - beside the occasional 'out-of-synch' status of JDeveloper, which so it seems still hasn't but fully resolved (and which I am familiar with). When creating a JSR 168 portlet using the wizard, the wizard completes without an error - but the sources never get generated. What I'm seeing is the message: "Building source index for project "Portlets.jpr" on the left-hand side of the statusbar and a progress-bar on the right-hand side with the label: "Scanning sources". This "never" ends and the only thing left to do is restart JDeveloper.
Any ideas whether this is JDK 1.6 related?Have tried this with JDK 1.5 setting, but no luck. I'm guessing this problem is more related to the fact I'm using Windows Vista than JDK 1.6. Last week I was able to generate JSR 168 portlet code on a file system that was pre-Vista formatted. Last weekend I reinstalled my machine and formatted my hard drives using Vista... I'm guessing that somehow this results in problems generated the sources.
Or is this too far fetched...? -
Issue while installing ODI 11.1.1.6 with JDK 7u
Hi All,
I am working on installing ODI on windows 64 bit. I downloaded lastest web logic server files, ODI files and JDK files from oracle site..
I installed Web Logice server with no errors but when I tried to install ODI by running the setup.exe it was giving me an error:
"Error: Provide the JDK/JRE Location while launching the installer. Invoke the sertup.exe with -jreLoc <JDK/JRE Location absolute path>Parameter(s)".
So, I looked in to JDK file and noticed that it is an old file and need to be updated so I installed "jdk-7uf-windows-i586.exe". After installing when I try to setup ODI, I am still getting the same error..
It is asking me to provide the location but I am not srue where to provide the location.. I know the location for JDK i.e. C:\Program files\Java\jdk1.7.0_04 but I am not sure where to provide this location for ODI..
Thanks a lot!2 things must be noticed:
First: ODI 11g is not supported by JDK 7, I always use the JDK1.6.0_27 and works fine. When you try to open the ODI Studio, this message appears, telling that ODI is supported only with JDK 6 versions, so don't try to use JDK 7.
Second: I always install the JDK in a path without spaces, like "C:\JDK1.6.0_27\" and the excatly same thing to odi install files. So I call via Command Prompt:
C:\ODI_INSTALL\Disk1\setup.exe -jreLoc C:\JDK1.6.0_27\
I did over 20 windows installations using these settings, it'll work perfectly.
Regards.
Luiz Araujo -
Why Oracle 8i is not Working with JDK 1.3
Why Oracle 8i is not Working with JDK 1.3 by using JDBC.
try this
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection("jdbc:odbc:"somedsn","scott","tiger");
I am using this for Oracle, it is working for me.
Uma
Java Developer
http://www.globalleafs.com -
9.0.4 compatibility with jdk 1.5
Hi,
Please do let me know if Oracle AS version 9.0.4.1 is compatible with jdk 1.5.
What is the jdk version compatible with 9.0.4.1?
Found the following in the Metalink -> Certify
In general, Oracle Application Server 10g (9.0.4, 10.1.2.x and 10.1.3.x) support using JDK
extensions higher than one the product originally shipped with. On 9.0.4, it is possible to move from JDK 1.3.1_06 to extension JDK 1.3.1_07 or beyond.
Does this imply that 9.0.4 is certified with JDK 1.5?????
Thanks in advance.
Regards,
Sindhiya V.desuported? Can you post a source for this?
9.0.4 is not certified with JDK 1.5 and will not be. AS 10.1.3 is the first release that is (as far as I know). -
XSLT with java extensions not working with jdk 1.6
Hi,
in as XSL transformation I'm using java functions in some cases. With jdk1.5 this works fine. But when switching to jdk1.6 it seems the java classes are not properly initialized.
See following simple XSL:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:java="http://xml.apache.org/xalan/java" exclude-result-prefixes="java">
<xsl:output method="html" indent="yes" encoding="iso-8859-1"/>
<xsl:template match="/">
<xsl:variable name="counter" select="java:java.util.Vector.new()"/>
<xsl:variable name="temp1" select="java:add($counter,'1')"/>
<xsl:variable name="temp2" select="java:add($counter,'2')"/>
<xsl:variable name="temp3" select="java:add($counter,'3')"/>
<xsl:value-of select="java:size($counter)"/>
<xsl:value-of select="java:toString($counter)"/>
</xsl:template>
</xsl:stylesheet>
With jdk 1.5 it creates following output:
3
[1, 2, 3]
With jdk 1.6 I get:
0
So I can access the object in jdk 1.6 but adding doesn't work.
Anybody has an idea what could be wrong or how to fix this?thanx this is the solution. With this construct
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:java="http://xml.apache.org/xalan/java" exclude-result-prefixes="java">
<xsl:output method="html" indent="yes" encoding="iso-8859-1"/>
<xsl:template match="/">
<xsl:variable name="counter" select="java:java.util.Vector.new()"/>
<xsl:variable name="temp1" select="java:add($counter,'1')"/>
<xsl:variable name="temp2" select="java:add($counter,'2')"/>
<xsl:variable name="temp3" select="java:add($counter,'3')"/>
<xsl:variable name="temp4" select="$temp3"/>
<xsl:value-of select="java:size($counter)"/>
<xsl:value-of select="java:toString($counter)"/>
</xsl:template>
</xsl:stylesheet>
at least the '3' is added to the vector. -
hi buddies,
I want to know that whether
10G Application Server 10.1.2.0.2 with JDK 1.5. is Version compatibility
pls do send ur replies if known to you.Hi ,
As far as I know AS 10.1.2.0.2 is Not certified with JDK 1.5.
Please see below some links where you can double-check this
1. OC4J with JDK 1.5 JSP compilation error
2. http://docs.huihoo.com/oracle/docs/B14099_19/web.1012/b14011/chap1.htm
"Only the JDK 1.3.1 and JDK 1.4 compilers are supported and certified by OC4J. It is possible to specify an alternative compiler by adding a <java-compiler> element to the server.xml file, and this might provide a workaround for the "classes not in packages" issue, but no other compilers are certified or supported by Oracle for use with OC4J."
3. "Certified JDKs" from
http://www.oracle.com/technology/software/products/ias/files/as_certification_r2_101202.html
BR,
Mihai -
hi buddies,
I want to know that whether
10G Application Server 10.1.2.0.2 with JDK 1.5.0_16 is Version compatible
pls do send ur replies if known to you.Hi ,
As far as I know AS 10.1.2.0.2 is Not certified with JDK 1.5.
Please see below some links where you can double-check this
1. OC4J with JDK 1.5 JSP compilation error
2. http://docs.huihoo.com/oracle/docs/B14099_19/web.1012/b14011/chap1.htm
"Only the JDK 1.3.1 and JDK 1.4 compilers are supported and certified by OC4J. It is possible to specify an alternative compiler by adding a <java-compiler> element to the server.xml file, and this might provide a workaround for the "classes not in packages" issue, but no other compilers are certified or supported by Oracle for use with OC4J."
3. "Certified JDKs" from
http://www.oracle.com/technology/software/products/ias/files/as_certification_r2_101202.html
BR,
Mihai
Maybe you are looking for
-
Just wanted to share this. Yesterday I bought a Jabra EasyGo bluetooth headset. Unfortunately, it could not bluetooth mp3 songs from my iPhone 4 iOS5. It can only be used for making/answering calls. However, today I found out that the headset can als
-
Hardening Linux for Oracle 10g
I have been working on creating a bare-bones RHEL 5 installation which will act as an Oracle 10g database server. For hardening Linux, I have restricted to a bare minimum of packages to make it more secure. This installation did not have X-Windows, G
-
JMS Adapter Tuning in Oracle 10G SOA suite - Fixing the Errors
Hi All, We are getting an error in Production environment while a BPEL process producing (enqueue) a message to a JMS queue by using JMS adapter. (partener link) The error is as follows. Adapter Framework unable to create outbound JCA connection. fil
-
Search help for currency field
I am not able any search help for currency field , CUKY of lenght 5 If anyone knows it please tell
-
How to display image is in result of query to MS Access database
How can i display image (ole db) from MS Access database? I tried to do it throw streams but i have a package not a image. Also i trued to save image as a stream of characteristics but the image doesn't create. thnks