DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 12th May 2008
DrJ DrJ is offline
ISO Quartermaster
 
Join Date: Apr 2008
Location: Gold Country, CA
Posts: 506
Thanked 39 Times in 39 Posts
Default Odd Java Issue

I updated Java 1.5 to the latest version yesterday only because one port demanded it. To be thorough, I installed both jdk and jre (both as binaries), and pointed the browser_plugins entry to the jre libjavaplugin_oji.so. "about: plugins" shows the right plugins are installed. So far so good.

The odd thing is that the new plugin generates an error on the standard Sun Java test page (http://www.java.com/en/download/help/testvm.xml). The error message in the java console window reads:

Code:
Java Plug-in 1.5.0
Using JRE version 1.5.0 Java HotSpot(TM) Client VM
User home directory = /home/xxxx
...
TestVM 4.18 sc
Copyright (c) 2008 Sun Microsystems, Inc.
All Rights Reserved.
Current JRE version set in file: 605
java.lang.NumberFormatException: For input string: " "
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
	at java.lang.Integer.parseInt(Integer.java:447)
	at java.lang.Integer.<init>(Integer.java:620)
	at testvmDynamicJavaCom.init(testvmDynamicJavaCom.java:195)
	at sun.applet.AppletPanel.run(AppletPanel.java:378)
	at java.lang.Thread.run(Thread.java:595)
Other various java testers pass fine. But I have always considered Sun's test to be the best one, since it is their product after all.

Has anyone else seen this? I'm on 6.3, Gnome 2.22.1, and the behavior is the same on three Gecko-based browsers. The old linux Java 1.4 still works as expected.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's your relashionship with Java? ephemera Programming 26 21st November 2008 07:07 AM
java compiler bsdnewbie999 OpenBSD Packages and Ports 8 9th August 2008 12:18 PM
Java JDK Oko OpenBSD Packages and Ports 10 13th July 2008 07:39 PM
How to java on FreeBSD? graudeejs FreeBSD Ports and Packages 13 9th July 2008 06:41 PM
Firefox3 & Java DarkEnergy FreeBSD General 3 5th July 2008 11:17 PM


All times are GMT. The time now is 04:25 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick