JRE 1.6 missing/can't find java/util package
I installed Sun's JRE1.6 to mitigate the DST issue a couple
of months ago. In the past few days, my clients report when, trying
access web-services the Java Compiler throws an exception dealing
with the inability to access the java/util package.
One solution (in Japanese) purported to say that if one adds
the switch:
-Djmx.invoke.getters=true
This can help mitigate the issue (after a restart). I did for
a couple of hours but the services began failing again.
### Exception Code ###
coldfusion.jsp.CompilationFailedException: Errors reported by
Java compiler: Found 2 system errors: *** Error: Could not find
package "java/util" in:
/opt/coldfusionmx7/runtime/jre/bin/jre1.6.0/lib/ext/sunjce_provider.jar
[filepath]coldfusionmx7/runtime/jre/bin/jre1.6.0/lib/ext/sunpkcs11.jar
[filepath]coldfusionmx7/runtime/jre/bin/jre1.6.0/lib/ext/dnsns.jar
[filepath]coldfusionmx7/runtime/jre/bin/jre1.6.0/lib/ext/meta-index
[filepath]/coldfusionmx7/runtime/jre/bin/jre1.6.0/lib/ext/localedata.jar
/opt/coldfusionmx7/wwwroot/WEB-INF/classes
[filepath]/coldfusionmx7/wwwroot/WEB-INF/lib/cfmx_bootstrap.jar
/opt/coldfusionmx7/wwwroot/WEB-INF/lib/cfx.jar
[filepath]/coldfusionmx7/wwwroot/WEB-INF/lib/commons-beanutils.jar
[filepath]/coldfusionmx7/wwwroot/WEB-INF/lib/commons-collections.jar
/opt/coldfusionmx7/wwwroot/WEB-INF/lib/js.jar
[filepath]/coldfusionmx7/lib/updates/chf700003.jar
/opt/coldfusionmx7/lib/ant-launcher.jar ....
### EOF ###
SysInfo:
Solaris 2.8
CFMX Ent 7.0.0
Java Version 1.6.0b.105
Thx Ian - you're correct. I've incepted 1.4.12 and
web-services are up and running *note to readers: watch your
permissons on the new files - ensure CFSvr "user" has access to new
files.
This technote details how to upgrade the JVM:
http://kb.adobe.com/selfservice/viewContent.do?externalId=2d547983&sliceId=2
Thank you both. DjlR
Similar Messages
-
Netbeans 6.7.1 & JavaFX Can't Find java.util.* at Runtime
h1. Problem
Netbeans 6.7.1 & JavaFX Can't Find the JRE classes (i.e. java.util.*) when the project is run (in Netbeans 6.7.1).
h1. Reproduce
Right Click Project_, then Run Project_
init:
deps-jar:
C:\MyJavaFXProject\Source\Java\com\acme\Blah.java:4: cannot find symbol
symbol : class ArrayDeque
location: package java.util
import java.util.ArrayDeque;h1. Workaround
Add all the jar's found in JAVA_HOME. This is VERY BAD - because netbeans projects are no longer portable!
h1. Does anyone else have this problem?
Can you post a link if this problem is already on the forum or is in an Issue/Bug trackers somewhere please.
Thanks for Reading.Thanks for the reply, evidently you are onto something!
My NetBeans 6.7.1 JavaFX project is using the "JavaFX SDK on Java 1.6 (Default)" Platform.When I take a look inside this (using Manage Platforms) I can see that the following is in the list of platform classes:
C:\Program Files\NetBeans 6.7.1\javafx2\javafx-sdk\lib\desktop\rt15.jarI'm assuming that rt15.jar is the java runtime @ version 1.5, and indeed this does NOT contain the Java 6 ArrayDeque ('_Array Deck_') class.
ahhughes@machine-114 /cygdrive/c/Program Files/NetBeans 6.7.1/javafx2/javafx-sdk/lib/desktop
$ jar -tvf rt15.jar | grep "ArrayDeque"
ahhughes@machine-114 /cygdrive/c/Program Files/NetBeans 6.7.1/javafx2/javafx-sdk/lib/desktop
$So my question is, why? If this is the "_NetBeans JavaFX SDK on Java 1.6 (Default)_", then why is it using the 1.5 runtime? It's obviously using 1.6 at compile time... this just seems busted to me. -
Where can i find Java.media package
Hi All
Someone please advise me where can i find the java.media package. Any help will be welcomed.
Thanks
ShanIt seems that java.media was changed to javax.media from JMF 1.0.2 Apperently the source code that you have is old. Check out the following page:
http://java.sun.com/products/java-media/jmf/1.0/guide/JavaMediaFrameP.doc.html
Ahmed -
Where can I find Java 1.5 ?
The tools are launched over the network via the WebStart application that is part of the Java 1.5 installation. You have to download Java 1.5 (JRE 5.0 or J2SEE 5.0)from the Sun Developer Network (WebStart is included).
> Thanks a lot. But I can not find Java 1.5
Ah. Sun's marketing gremlins strike again. Java 1.5 and Java SE 5 are the same product.
~ -
Why can not find Java VM when Install JWSDP 1.6?
I am using winXP.I have installed J2SE 5.0 by default.I want to install JWSDP 1.6 but when I runned JWSDP 1.6. install script, there is always a message error that it can not find Java VM.
I have tried in command prompt
jwsdp-1_6-windows-i586.exe -is:javahome c:\Sun\AppServer
jwsdp-1_6-windows-i586.exe -is:javahome c:\Sun\AppServer\jdk
jwsdp-1_6-windows-i586.exe -is:javahome c:\Sun\AppServer\jdk\bin
but nothing worked. What sould I do?
Thanks,I am using winXP.I have installed J2SE 5.0 by
default.I want to install JWSDP 1.6 but when I runned
JWSDP 1.6. install script, there is always a message
error that it can not find Java VM.
I have tried in command prompt
jwsdp-1_6-windows-i586.exe -is:javahome
c:\Sun\AppServer
jwsdp-1_6-windows-i586.exe -is:javahome
c:\Sun\AppServer\jdk
jwsdp-1_6-windows-i586.exe -is:javahome
c:\Sun\AppServer\jdk\bin
but nothing worked. What sould I do?
Thanks,I really don't quite follow what your problem is But:
Are you sure it's { the script } is not looking for JAVA_HOME environmental Variable?
You could try: Control Panel - System - Advanced - Environment Variables
and see if it has an Entry for "JAVA_HOME"
if it does ensure it is pointing to the correct directory:
ie the one that has the directories bin, jre, lib
in it. for me that is C:\Java\jdk1.5
for you it's probaly C:\Java1-5-05 or whatever
If it doesn't add a new entry for it.
in my case:
JAVA_HOME C:\Java\jdk1.5
Normally I just double click on those .exe's and they install fine......... -
Where can I find Java for Mac OS X 10.6.8?
Where can I find Java for Mac OS X 10.6.8?
fixie84 wrote:
I can't find it on my imac. I searched for it in the finder.
It should be in /System/Library/Frameworks/
10.6 update 3 deprecated that path, and since that Java update (if you've installed it) it would be
/Library/Java/JavaVirtualMachines/
and
/System/Library/Java/JavaVirtualMachines/ -
How can i find java preferences on MAC 10.8.2
I recently upgraded to the new Mountain Lion OS X 10.8.2 but I can't find Java preferences anymore. I need to go onto an online banking page but it needs me to adjust some settings through Java Preferences, kindly please inform where can I get to the Java Preferences page?
The last Java update disabled Java plug-in and removed Java Preferences.app from your Utilities folder.
You can re-enable Java by follwing this support article
http://support.apple.com/kb/HT5559
Or, you can update to Oracle's Java 7 here
http://www.java.com/en/download/mac_download.jsp?locale=en -
Where can I find java on my iPad?
Where can I find java on iPad?
Welcome to Apple Communities
The iPad isn't compatible with Java and other propietary plugins like Flash -
Where can I find Java for my iMac OS X 10.7.2? I'd like to print coupons and the pop-up says that Apple has their own version of Java. I don't even know what it's called!
download from here: http://mac.softpedia.com/get/System-Utilities/Java.shtml. Only click this download button
ignore all the other ones. -
Java error message 'Can't find Java Home'
While Installing an application, I can see the error popup window 'Can't find Java Home'. Why it occur the error message only most newer PC. Please advise me
Thanks in Advance,
PonmuthuWell, hi again!
My problem is not solved, when I tried to start Tomcat today it fails with the same message as earlier, namely
C:\jakarta-tomcat-4.1.12-LE-jdk14\bin>catalina start
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
Using CATALINA_BASE: C:\jakarta-tomcat-4.1.12-LE-jdk14
Using CATALINA_HOME: C:\jakarta-tomcat-4.1.12-LE-jdk14
Using CATALINA_TMPDIR: C:\jakarta-tomcat-4.1.12-LE-jdk14\temp
Using JAVA_HOME: C:\j2sdk1.4.1_01
Det g�r inte att hitta filen -Djava.endorsed.dirs=. (Could find the file -DJAVA.endorsed.dirs=...............
And JAVA_HOME, CATALINA_HOME, TOMCAT_HOME is:
C:\jakarta-tomcat-4.1.12-LE-jdk14\bin>echo %JAVA_HOME%
C:\j2sdk1.4.1_01
C:\jakarta-tomcat-4.1.12-LE-jdk14\bin>echo %TOMCAT_HOME%
C:\jakarta-tomcat-4.1.12_LE-jdk14
C:\jakarta-tomcat-4.1.12-LE-jdk14\bin>echo %CATALINA_HOME%
C:\jakarta-tomcat-4.1.12-LE-jdk14
Any more suggestions of why it's not working? -
Can't find Java Class of a standard UI Command
Hello everybody,
Where can i find Java classe source and Bundle file of a standard UI Command "AppDetails"
for example ?
Thanks & Regards,
Hassan MounimHi Hassan,
You can find the UIDetailsCommand class here:
..\WEB_INF\portal\portalapps\com.sap.km.cm.ui.flex\private\lib\km.appl.ui.flex.uicommand_core.jar
And the bundle file UIConst here:
..\WEB_INF\portal\portalapps\com.sap.km.cm.ui.flex\lib\km.shared.ui.flex.uicommand_api.jar
Hope this helps,
Robert -
Can't find Java plugin in firefox30 plugins panel
I'm using Windows 8.1 64bit, and my Firefox is version 30.0.
I had install Java JDK which included the JRE, but somehow I couldn't find Java plugin in the Plugins panel.
When I open a web page containing Java object, there is a placeholder to notify me to install the Java JRE.
FYI, I used to use Firefox on Windows 7, and also installed Java JDK, but it didn't have the problem mentioned above.download java from java site it will help ====> [http://javadl.sun.com/webapps/download/AutoDL?BundleId=94262 http://javadl.sun.com/webapps/download/AutoDL?BundleId=94262] this is a direct link
or from here ===>[https://www.java.com/en/download/windows_xpi.jsp?locale=en link text]
note java JDK i think it is for andriod development so it will not work in browsers as i think ! -
Where can I find/download the package that contains: OracleConnectionPoolD
Hi,
I have classes12.zip and can make successful database connections using Oracle's JDBC driver.
However, when I tried to run a connection pooling example - from a text book (called "PooledExample.java") - I got the following error messages...
C:\testdart\testdart\source>javac PooledExample.java
PooledExample.java:5: package oracle.jdbc.driver does not exist
import oracle.jdbc.driver.*;
^
PooledExample.java:7: package oracle.jdbc.pool does not exist
import oracle.jdbc.pool.*;
^
PooledExample.java:15: cannot resolve symbol
symbol : class OracleConnectionPoolDataSource
location: class PooledExample
OracleConnectionPoolDataSource poolDataSrc =
^
PooledExample.java:16: cannot resolve symbol
symbol : class OracleConnectionPoolDataSource
location: class PooledExample
new OracleConnectionPoolDataSource();
^
4 errors
Where can I find/download the package that contains these classes (I'm assuming that there missing)? Is it possible that JDBC 2.0 works for Oracle9i only? (I'm using Oracle8i)
I looked on Oracle's website but its not clear where to download this API
Thanks!!!They should be in classes12.zip (oracle.jdbc.driver definitely is). It sounds like you don't have classes12.zip in your classpath when you are compiling. Normally you don't use the Oracle classes directly so you only need classes12.zip when running your application but in your case you are directly referring to them in your Java source code so you need them when you compile.
Col -
I can't find any support package for Solution Manager 4.0
I can't find any support package for solution manager at
Support Packages and Patches - > SAP Technology Components
SAP Technology Components
GATEWAY
JAVA LOG VIEWER
SAPCAR
SAP EXCHANGE CONNECTOR
SAP CR CONTENT
SAPROUTER
SAPSECULIB
SAPSSOEXT
I'm searching it at a wrong place?You´re at the right place - but your user doesn´t seem to have permissions to download them.
You have a license for Solution Manager?
Markus -
How can I define "java.util.ResourceBundle" in my Code ?
Dear Mr. MLRon,
Thanks to you for your replying to me.
How can I define "java.util.ResourceBundle" in my Code ? To more understanding about my problem I can say that the Persian Font is Like as Arabic, but the Java can not Recognize it. please tell me how can I add "java.util.ResourceBundle" to my code and what should I do then?
Thank you in advance,
Tantan.Please stop starting new threads for this. Please reply in the original thread!
http://forum.java.sun.com/thread.jspa?threadID=627917
Maybe you are looking for
-
I have upgraded to the iPhone 5s and I have transferred all information over but I do not know how to transfer the phone service. Please help
-
I hid a folder with terminal and now I can't get it back.
Hey guys, I used this chflags hidden /Users//craigsequeira/Desktop/School Work in terminal to hide my "School Work" folder and now I don't know how to get it back! Could you guys help me out cause there is a lot of data in there!
-
Report Painter - cannot hide an element selected for the drill-down report
Dear Experts I am using report painter to modify a report by trying to hide a row but getting the following error. You cannot hide an element that you selected for the drill-down list Message no. K7186 Diagnosis You cannot hide elements that have alr
-
The folder "iTunes" can not be found...
Recently, I had two strange things happen to my Dell Inspiron E1705 laptop. 1. My photos just disappeared. 2. My iTunes became unusable. - I have uninstalled and reinstalled iTunes 3 times. Every time it says the install was complete. BUT when I try
-
Hi. I'm learning how use gradient mesh. the problem I'm having is there is one anchor point on one of my paths that keeps going back to white. I select it with the white arrow and use the eyedropper tool to replace the color, switch to a new anchor,