• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

"java -version "throws error in SunOS5.6

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I installed jsdk 1.4.2_09 on SunOS5.6 box using the self-extracting script j2sdk-1_4_2_09-solaris-sparc.sh which I downloaded from Sun site.

I have installed all the required OS patches for Java 1.4 on my box.

But when I type "java -version" it throws the following error

testuser :-) ./java -version
dl failure on line 716Error: failed /usr/java1.4/j2sdk1.4.2_09/jre/lib/sparc/client/libjvm.so, because ld.so.1: ./java: fatal: relocation error: file /usr/java1.4/j2sdk1.4.2_09/jre/lib/sparc/client/libjvm.so: symbol getloadavg: referenced symbol not found


Could someone please help me with a reason for this error and possible solution

Rgds
Anjana
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The failed symbol reference suggests you are either missing a .so file or you have one that is not recent enough to support this version of the JVM.

I found this with a google search on 'getloadavg.'
 
Hey, sticks and stones baby. And maybe a wee mention of my stuff:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic