- This topic has 3 replies, 2 voices, and was last updated 15 years, 8 months ago by
support-joy.
-
AuthorPosts
-
MKesMemberHi All,
I am using MyEclipse versio 7.5. I am trying to set java home to <bea/JRockit> instead of default C:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013.I need to do this As I get the following error
List<String> myList = new ArrayList<String>();
Error : The type Collection is not generic; it cannot be parameterized with arguments <? extends E>I have tried the following:
1. Windows>Prefference>Installed JREs >Added ../bea/JRockit_150_11
2. Unchecked default C:\Program Files\Genuitec\Common\binary\ com.sun.java.jdk.win32.x86_1.6.0.013
3. Checked newly added bea\JRockit…Configuration details still shows :
java.endorsed.dirs=C:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\lib\endorsed
java.ext.dirs=C:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.home=C:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre
java.io.tmpdir=C:\DOCUME~1\mkesavan\LOCALS~1\Temp\
java.library.path=C:\Program Files\Genuitec\MyEclipse 7.5;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client;C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin;C:\oracle\product.2.0\client_2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\bea\jrockit_150_11\bin;C:\bea\jrockit_150_11\bin;C:\bea\jdk150_11\bin;C:\bea\jrockit_150_11\bin;C:\Tools\apache-ant-1.7.1\bin;C:\bea\jdk150_11\lib\tools.jar;C:\Program Files\CVSNT\
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_13-b03
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.6
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.6.0_13
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=11.3-b02
Please suggest how to fix this issue.
Thanks,
Malini
support-joyMemberMalini,
The change in the Windows–>Preferences–>Installed JREs will reflect in your next project creation time. If you want to change it for your entire MyEclipse, go to your installed MyEclipse directory, on XP it is usually in
~\Program Files\Genuitec\Profiles\MyEclipse and open “myeclipse.ini” file. You’ll find “/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll” line, edit this with your JRE location and start MyEclipse.
Please let me know if you need anything.
MKesMemberHi Joy
I got my Configuration Details set to point to JDK1.5 version.
But I still am getting this error:List<String> myList = new ArrayList<String>();
Error : The type Collection is not generic; it cannot be parameterized with arguments <? extends E>Here are my Configuration Details:
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.class.path=C:\Program Files\Genuitec\MyEclipse 7.5\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
java.class.version=49.0
java.endorsed.dirs=C:\bea\jrockit_150_11\jre\lib\endorsed
java.ext.dirs=C:\bea\jrockit_150_11\jre\lib\ext
java.home=C:\bea\jrockit_150_11\jre
java.io.tmpdir=C:\DOCUME~1\mkesavan\LOCALS~1\Temp\
java.library.path=C:\Program Files\Genuitec\MyEclipse 7.5;.;C:\WINDOWS\system32;C:\WINDOWS;C:/bea/jrockit_150_11/jre/bin/jrockit;C:/bea/jrockit_150_11/jre/bin;C:\oracle\product.2.0\client_2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\bea\jrockit_150_11\bin;C:\bea\jrockit_150_11\bin;C:\bea\jdk150_11\bin;C:\bea\jrockit_150_11\bin;C:\Tools\apache-ant-1.7.1\bin;C:\bea\jdk150_11\lib\tools.jar;C:\Program Files\CVSNT\
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version=1.5.0_11-b03
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.5
java.vendor=BEA Systems, Inc.
java.vendor.url=http://www.bea.com/
java.vendor.url.bug=http://support.bea.com
java.version=1.5.0_11
java.vm.info=compiled mode
java.vm.name=BEA JRockit(R)
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=BEA Systems, Inc.
java.vm.vendor.url=http://www.bea.com/
java.vm.vendor.url.bug=http://support.bea.com
java.vm.version=R27.3.1-1_CR344434-89345-1.5.0_11-20070925-1628-windows-ia32
line.separator=Please help me fix this as any line of code after the occurence of this error “The type Collection is not generic; it cannot be parameterized with arguments <? extends E>
” doesn’t capture any syntax /compilation errors.Thanks,
Malini
support-joyMemberMalini,
1) Can you please send me System configuration?
2) Can you send the myeclipse.ini file content?
3) Have you changed the jre information in the myeclipse.ini file as I adviced above?
4) Can you send me the project.
You can send an e-mail to support@genuitec.com. Please mention “Attn: Joy” in the subject line. Also, please refer this link in the e-mail. -
AuthorPosts