Monday, 30 September 2013

Eclipse is running in a JRE, but a JDK is required fixed

Eclipse is running in a JRE, but a JDK is required To resolve this issue i added following this line into eclipse.ini.

-vm
C:\JavaJDK\Java\jdk1.6.0_01\jre\bin\client\jvm.dll

Here is the ini file in full;

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
org.eclipse.epp.package.jee.product
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vm
C:\JavaJDK\Java\jdk1.6.0_01\jre\bin\client\jvm.dll
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

Class.forName("com.sybase.jdbc2.jdbc.SybDriver"); sybase driver load in java

Class.forName("com.sybase.jdbc2.jdbc.SybDriver"); Add jonn2.jar in classpath

Saturday, 21 September 2013

insert the current date and time word 2007



  • 1.      Click where you want to insert the date or time.
  • 2.      On the Insert menu, click Date and Time.
  • 3.      If you want to insert the date or time in a different language format, then click the language   in          the Languagebox.
  • The Language box includes a list of the enabled editing languages. Additional date and time options may also be available, depending on the language that you selected.
  • 4.      In the Available formats box, click a date or time format.
  • 5.      Select whether you want the date to automatically update or to remain as originally inserted. Do one of the following:

Tuesday, 10 September 2013

jvm terminated exit code 1 fixed

--launcher.XXMaxPermSize
256m
-vmargs
-Xms1712m
-Xmx2024m

upgrade it in eclipse.ini this to

--launcher.XXMaxPermSize
256m
-vmargs
-Xms712m
-Xmx1024m


Monday, 9 September 2013

failed to load jni shared library Eclipse -- Fixed



        failed to load jni shared library Eclipse -- Fixed

Use this..........


  • 64-bit OS
  • 64-bit Java
  • 64-bit Eclipse