This content has been marked as final. Show 10 replies
That means, you have to contact the people who wrote that page for you. Whether they have a website is impossible for us to know, since we don't know who they are.
However when I try to go to http://188.8.131.52/home from my browser I get a 404 error (Not Found). That would be why trying to load a class from that site results in the class not being found. Presumably the people running that site haven't got it set up right. So you should talk to them.
By the way, when I go to http://184.108.40.206/ I get a page with a working applet which allows me to capture a webcam view over some nondescript city. So I have one of the working PCs.
Debugging applet configuration problems isn't an easy problem even for Java programmers. So I'd suggest you might have to acquire one of those (Java programmers, that is) to help you out with this problem.
Using the IP is a direct link to the camera's admin screen. As stated I am not a java coder but I would guess that admin screen contains code written into the program by SONY to make it work. Every machine I use can see that screen. Our web page is another story. It was written by a non-java coder who probably got the code from a web-forum <*--*>. It needs to connect to the camera using our own java-applet.
I'll check with the SONY support folk. Perhaps they can help.
Thanks for the feedback.
In the tag/code: <applet codebase="http://220.127.116.11/home/" code="appletviewer.viewer.class" archive="JViewer.jar" name="viewer" style="width:320px; height:290px"></applet>
The part that reads >> ' codebase="http://18.104.22.168/home/ ' is telling the applet where the "appletviewer.vier.class" is located. So, it is expecting to find this class in http://22.214.171.124/home/. Since we are using a brand-new webcam, I guess I need to find out if it has this viewer class and where it is. Or its like.
I found this code at: http://www.htmlcodetutorial.com/applets/_APPLET_CODEBASE.html
Here's the full code of what appears to me to be the code generating that tag:
You'll notice that's a bit different from what you tried. The codebase is different, the name of the class is different (you used "viewer" but this uses "Viewer" -- Java is case-sensitive so it does matter), and the archive is different.
document.write('<APPLET codebase="../program/" code="javaviewer.Viewer.class"'); document.write(' archive="SonySncRz25View.jar"'); document.write(' name="viewer"'); document.write(' width="840" height="680">'); document.write('</APPLET>');
Now maybe I'm looking at the wrong code, and the right code is elsewhere, but hopefully that points you toward where you might be looking to identify your problem.
I did not find (see) the js file, but did find the output of it by using the Developer Tools in IE while viewing the admin screen for the WebCam. On the developer tools page I use the HTML tab and then drill down into the body tag and I can see:
What I need to do now, er, been trying to do is figure out the relative path for the "../program/" in relation to http://126.96.36.199/en/home/, which is where I am when I view the above applet code. In my webpage that displays the viewer I use this code:
<applet name="viewer" width="840" height="680" codeBase="../program/" code="javaviewer.Viewer.class" archive="SonySncRz25View.jar"/>
I change the width and height to fit the page. The page in 'codeBase' is not correct. I've tried different paths but get either nothing or I get an outline of the viewer with a Java Error that I cannot get to display.
<applet name="viewer" width="320" height="290" codeBase="http://188.8.131.52/home/en/program/" code="javaviewer.Viewer.class" archive="SonySncRz25View.jar"/>
These paths do not work for me:
Sorry, I cannot give you the url to my webpage as it is in a protected area of our site for development and not accessable to the public.
codeBase="http://184.108.40.206/home/en/program/" codeBase="http://220.127.116.11/home/program/" codeBase="http://18.104.22.168/program/"
Thanks for any help/tips.
I re-read DrClap's post and saw the bit about 'case-sensitive'. I changed my code to user the uppercase APPLET and then played with the path. '../program/' is at the root of the url.
<APPLET name="viewer" width="525" height="290" codeBase="http://22.214.171.124/program/" code="javaviewer.Viewer.class" archive="SonySncRz25View.jar"/></APPLET>
Thanks all for the hand-holding. I still do not get JAVA, but this bit of code is a bit less daunting.