Jump to content


Photo

Problem Printing Shipping Label with PayPal [JAVA PROBLEM]


  • Please log in to reply
3 replies to this topic

#1 sinister65

sinister65

    New Member

  • Members
  • Pip
  • 23 posts
  • Gender:Male

Posted 01 September 2009 - 07:57 AM

Alright so i'm trying to print a shipping label, but its telling me to install the latest Java SE2 Run time Environment, so i installed it and when i go back to print the label i'm still getting the error. Here is a picture and here's the info. Please help ASAP my dad needs his shipping labels xD. I have the latest java version, i even checked in my java console.

Java Plug-in 1.6.0_16
Using JRE version 1.6.0_16-b01 Java HotSpot™ Client VM
User home directory = C:\Documents and Settings\Compaq_Administrator
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------


load: class bnblabel.BnBLabelPrintApplet.class not found.
java.lang.ClassNotFoundException: bnblabel.BnBLabelPrintApplet.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Invalid argument: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(U
nknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more
Exception: java.lang.ClassNotFoundException: bnblabel.BnBLabelPrintApplet.class

Posted Image

#2 Jacktivity

Jacktivity

    Staff

  • Moderators
  • PipPipPipPip
  • 361 posts
  • Gender:Male

Posted 01 September 2009 - 01:41 PM

Hi sinister65,

Have you tried to install J2SE JRE? Normally, Java versions are backward compatible, but maybe this one isn't.

Here's a quote from Java themselves.

Yes, you can safely remove older versions of Java from your system by following the instructions on: Windows Java uninstallation instructions page

The latest version of Java is always the recommended version as it contains updates and improvements to previous versions. The latest available version is always compatible with the older versions.

You can also keep older versions of Java installed, in case you have an applet/application that still depends upon a previous version.

To download the latest and recommended version, please visit:
Java Download.

Note: You should report to the applet provider/developer about this dependability. They need to rectify their code in order to ensure compatibility with all Java versions.


Seems it's worth a try.
Jack Lewis
Product Support

Posted Image

Follow us: Twitter, Become a fan: Facebook

#3 AdvancedSetup

AdvancedSetup

    Staff

  • Root Admin
  • PipPipPipPipPipPip
  • 40,904 posts
  • Gender:Male
  • Location:US

Posted 01 September 2009 - 03:29 PM

Here is a canned message on removing older Java versions on XP.



Reconfigure Windows XP to show hidden files:
To enable the viewing of Hidden files follow these steps:

* Close all programs so that you are at your desktop.
* Double-click on the My Computer icon.
* Select the Tools menu and click Folder Options.
* After the new window appears select the View tab.
* Put a checkmark in the checkbox labeled Display the contents of system folders.
* Under the Hidden files and folders section select the radio button labeled Show hidden files and folders.
* Remove the checkmark from the checkbox labeled Hide file extensions for known file types.
* Remove the checkmark from the checkbox labeled Hide protected operating system files.
* Press the Apply button and then the OK button and exit My Computer.
* Now your computer is configured to show all hidden files.

Please go into the Control Panel, Add/Remove and for now remove ALL versions of JAVA

Then run this tool to help cleanup any left over Java
Your Java is out of date. Older versions have vulnerabilities that malware can use to infect your system.
Please download JavaRa and unzip it to your desktop.
***Please close any instances of Internet Explorer (or other web browser) before continuing!***
  • Double-click on JavaRa.exe to start the program.
  • From the drop-down menu, choose English and click on Select.
  • JavaRa will open; click on Remove Older Versions to remove the older versions of Java installed on your computer.
  • Click Yes when prompted. When JavaRa is done, a notice will appear that a logfile has been produced. Click OK.
  • A logfile will pop up. Please save it to a convenient location and post it back when you reply

    Then look for the following Java folders and if found delete them.
    C:\Program Files\Java
    C:\Program Files\Common Files\Java
    C:\Windows\Sun
    C:\Documents and Settings\All Users\Application Data\Java
    C:\Documents and Settings\All Users\Application Data\Sun\Java
    C:\Documents and Settings\username\Application Data\Java
    C:\Documents and Settings\username\Application Data\Sun\Java

Then RESTART the computer.

Then get the latest update.

Download and Update Java Runtime
The most current version of Sun Java is: Java Runtime Environment (JRE) 6 Update 16.
  • Go to http://java.sun.com/...loads/index.jsp
  • Go to Java SE Runtime Environment (JRE) - JRE 6 Update 16 about half way down the page and click on the Download button.
  • In Platform box choose Windows.
  • Check the box to Accept License Agreement and click Continue.
  • Click on Windows Offline Installation, click on the link under it which says jre-6u16-windows-i586.exe and save the downloaded file to your desktop.
  • Install the new version by running the newly-downloaded file with the java icon which will be on your desktop, and follow the on-screen instructions.
  • Uncheck the Toolbar button (unless you want the toolbar)
  • Reboot your computer

Ron Lewis
Forum Community Manager

staff.png

Follow us: Twitter, Become a fan: Facebook


#4 noknojon

noknojon

    you know why ---

  • Honorary Members
  • PipPipPipPipPipPip
  • 6,090 posts
  • Gender:Male

Posted 01 September 2009 - 06:35 PM

There seems to be a lot of Java as well as Adobe update problems posted lately -
I have always found that to uninstall the older version (even though you can 'overinstall') has been the better option -
The Adobe site in one of it's FAQ sections states to remove older versions if you have problems and then install the latest version -
This seems to be occuring a bit with Sun products lately - Even though I have not visited their FAQ for a while I will check if this is their response -
You (and other forums) have had people with the same problem -
Thanks for the uninstall link - :(
Went to Sun/Java and got the same link from them also - They say it is OK to remove the old version and install from there -
Just did a JRE version update and all is well -
Just another private helper .......................... The answer is always 42, or Reboot
If you are waiting for an answer Press F5 ................. you may have one waiting for you ........




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users