Shiva Mohan

Ranch Hand
+ Follow
since Jan 05, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Shiva Mohan

Thanks for the reply. My installed java version in c drive as
C:\Program Files\Java\jdk1.6.0_11

but in the command prompt when I issued
java -version it says
java version 1.8.0_71.

may be I upgraded it. I have fixed it and now everything works well. Thanks again for the help!
Hi - I haven't worked on Java with Eclipse IDE for a long while. Now when I tried to open the eclipse IDE it says below error.

---------------------------
Eclipse
---------------------------
Java was started but returned exit code=13
C:\ProgramData\Oracle\Java\javapath\javaw.exe
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-jar C:\Users\MohanS\Desktop\eclipse-jee-luna-SR2-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os win32
-ws win32
-arch x86_64
-showsplash C:\Users\MohanS\Desktop\eclipse-jee-luna-SR2-win32-x86_64\eclipse\\plugins\org.eclipse.platform_4.4.2.v20150204-1700\splash.bmp
-launcher C:\Users\MohanS\Desktop\eclipse-jee-luna-SR2-win32-x86_64\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\Users\MohanS\Desktop\eclipse-jee-luna-SR2-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20150204-1316\eclipse_1608.dll
-startup C:\Users\MohanS\Desktop\eclipse-jee-luna-SR2-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdata 6e4_68
-product org.eclipse.epp.package.jee.product
-vm C:\ProgramData\Oracle\Java\javapath\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-jar C:\Users\MohanS\Desktop\eclipse-jee-luna-SR2-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
---------------------------
OK
---------------------------

I have no idea how to correct this error and get in eclipse. Please help
Thank you for the information. I will contact oracle certview support.

I will prepare myself for OCEJWCD 6 exam then. Thanks again
Hi Experts - I passed my SCJP 1.4 certification on year 2007. I lost the proof of the certification that is delivered to my home. Now I am planning on preparing myself for SCWCD 5 exam.(that is 1Z0-858 OCPWCD).

Do I need to provide the proof of something that I have completed SCJP before I buy voucher for this exam?
Please let me know

I already have HFSJ 2 nd edition. I am planning on buying Sun Certified Web Component Developer Study Guide (Exams 310-081 & 310-082) (Oracle Press) by David BridgeWater. Amazon link for this book says 1 st edition Is there any other new editions available for this book. Please let me know. I don't want to buy an old edition and prepare for the exam . please help
Hi Experts - I passed my SCJP 1.4 certification on year 2007. I lost the proof of the certification that is delivered to my home. Now I am planning on preparing myself for SCWCD 5 exam.(that is 1Z0-858 OCPWCD).

Do I need to provide the proof of something that I have completed SCJP before I buy voucher for this exam?
Please let me know

I already have HFSJ 2 nd edition. What are the other books that I can buy for accompanying study for this certification?
Thanks for the reply. I checked web.xml and it is like below


It seems like web.xml is correct and still I get the error msg
9 years ago
Hi - I am new to dynamic web developement and started my first servlet exactly like taught in video link below.

https://www.youtube.com/watch?v=EOkN5IPoJVs

when I started localhost with path /myapp/hello

I am getting error
HTTP Status 500 - Wrapper cannot find servlet class org.javatrainer.HelloServlet or a class it depends on

Please help resolve this error.









9 years ago
Thanks for the reply. Once I unlock it everything works.
9 years ago
I am a beginner in Android trying to configure emulator to work with Eclipse. Eclipse console windows says

[2014-11-05 13:41:48 - ch01_TipCalculator] Android Launch!
[2014-11-05 13:41:48 - ch01_TipCalculator] adb is running normally.
[2014-11-05 13:41:48 - ch01_TipCalculator] Performing com.murach.tipcalculator.TipCalculatorActivity activity launch
[2014-11-05 13:42:14 - ch01_TipCalculator] Launching a new emulator with Virtual Device 'Android_4.2_Phone'
[2014-11-05 13:42:15 - ch01_TipCalculator] New emulator found: emulator-5554
[2014-11-05 13:42:15 - ch01_TipCalculator] Waiting for HOME ('android.process.acore') to be launched...
[2014-11-05 13:42:37 - ch01_TipCalculator] HOME is up on device 'emulator-5554'
[2014-11-05 13:42:37 - ch01_TipCalculator] Uploading ch01_TipCalculator.apk onto device 'emulator-5554'
[2014-11-05 13:42:37 - ch01_TipCalculator] Installing ch01_TipCalculator.apk...
[2014-11-05 13:42:59 - ch01_TipCalculator] Success!
[2014-11-05 13:42:59 - ch01_TipCalculator] Starting activity com.murach.tipcalculator.TipCalculatorActivity on device emulator-5554
[2014-11-05 13:43:02 - ch01_TipCalculator] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.murach.tipcalculator/.TipCalculatorActivity }

But I am not seeing any result of this app in emulator. I have attached a screenshot of emulator. Please help
9 years ago
Thanks for the help. I have removed leading zeros using DecimalFormat.
10 years ago
Thanks for the reply. I am new to regex and learning it with fixing this. Is there any other way to fix this using DecimalFormat or NumberFormat or anything else rather than regex?
10 years ago
If I have 0123.45 string and trying to get 12345 as result. I am trying regex like below.

String s="0123.45";
s = s.replaceAll("^0*([0-9]+).*", "$1");

It gave result 123 as leading zeros removed that is one of the things that I want. How do I achieve 12345, please?
10 years ago
MyProject package has meterPro.java and this is where I am trying to access Reading.txt file.

Path package has Reading.txt.

Code is



url1 throws nullpointerexception.
10 years ago
Hi - I am getting the below runtime exception.

java.lang.RuntimeException: Could not parse DateDate with format of MM/dd/yyyy.

the code I am trying in the method is:



I have tried the commented out way to parsedate and uncommeted out parsedate with MMddyyyy. both didn't worked out for me.
10 years ago
Thanks for the reply. application.properties is located in props package. But the .java that needs to use the properties file in com.iso.transfer.props package. It looks like I don't have to move the properties file from props package to other package in our application. I tried adding this package name as

props.load(ApplicationProperties.class.getResourceAsStream("props/application.properties")); //but still gettting the same error like above
10 years ago