J2SDK 1.4.0 beta on Solaris 2.5.1
I've downloaded and installed 1.4 beta, but it doesn't work on the Solaris 2.5.1 machine:
% java -version
Error: failed /disk/usr/j2sdk1_4_0b/jre/lib/sparc/client/libjvm.so, because ld.so.1: /disk/usr/j2sdk1_4_0b/bin/../bin/sparc/native_threads/java: fatal: relocation error: file /disk/usr/j2sdk1_4_0b/jre/lib/sparc/client/libjvm.so: symbol pset_bind: referenced symbol not found
% which java
/disk/usr/j2sdk1_4_0b/bin/java
All the listed patches are installed.
It does work on the Solaris 2.6 machine:
/usr/java1.4/bin/java -versionjava version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)
>
Suggestions?
Please read the Installation Note of the release. JDK 1.4 is intended for use on Solaris 2.6, Solaris 7, and Solaris 8 operating environments.
Similar Messages
-
J2sdk-1_4_2_08 install guide need in solaris 9
Hi,
I've currently running an older version in my sunbox solaris 9.
# java -fullversion
java full version "Solaris_JDK_1.4.1_xx"
I install the j2sdk 1.4.2_08, which download from java.sun.com "j2sdk-1_4_2_08-solaris-sparcv9.sh"
I run the installation:
sh j2sdk-1_4_2_08-solaris-sparcv9.sh under
/usr/local/ and it going fine.
I create a link j2sdk1.4.2 -> j2sdk1.4.2_08
and set the path
JAVA_HOME=/usr/local/j2sdk1.4.2; export JAVA_HOME
PATH=${JAVA_HOME}/bin:${PATH}; export PATH
However, when I did "java -fullversion"... the system
still show the older version.
So I do uninstall with the below commandline.
pkgrm SUNWj3dmo SUNWj3man SUNWj3dev SUNWj3rt
The system seem remove all the older java staff.
And when I did again the "/usr/j2se/bin/sparcv9/java -fullversion" but java: not found
Kindly advise.
Thanks you.Did you try "which java"?
-
How to fix aSun Studio 9 bug running on a Solaris 10 ?
Hi all
I have Sun Studio 9 installed on a Sun Solaris 10 and when I try to run the debug tools I receive this Issue
(dbx) cd /users/****/ISMD_V10_integration/MMI/IHM/SCHEMA/bin
(dbx) debug /users/***/ISMD_V10_integration/MMI/IHM/SCHEMA/bin/dbtool.Solaris
Reading dbtool.Solaris
Reading ld.so.1
dbx: internal error: signal SIGSEGV (no mapping at the fault address)
dbx's coredump will appear in /tmpSo I tried to install this Patch [1186876|http://sunsolve.sun.com/search/document.do?assetkey=1-21-118676] .
This is what I received
# patchadd 118676-02
Validating patches...
Loading patches installed on the system...
Done!
Loading patches requested to install.
Cannot open pkginfo file /users/spiteri/118676-02/SUNWxcu4t/pkginfo
Done!
Checking patches that you specified for installation.
Done!
The following requested patches will not be installed because
they have been made obsolete by other patches already
installed on the system or by patches you have specified for installation.
0 All packages from patch 118676-02 are patched by higher revision patches.
No patches to install.More over when I checked if the patch exist I have this
# showrev -p | grep 118676
Patch: 118676-03 Obsoletes: Requires: Incompatibles: Packages: SUNWsprot, SUNWxcu4tThen I checked the DBX version
# dbx
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.3' in your .dbxrc
(dbx) version
Machine hardware: sun4u
OS version: 5.10
Processor type: sparc
Hardware: SUNW,Sun-Fire-280R
The following components are installed on your system:
Sun Studio 9
Sun Studio 9 C Compiler
Sun Studio 9 C++ Compiler
Sun Studio 9 Tools.h++ 7.1
Sun Studio 9 C++ Standard 64-bit Class Library
Sun Studio 9 Garbage Collector
Sun Studio 9 Fortran 95
Sun Studio 9 Debugging Tools (including dbx)
Sun Studio 9 Debugger GUI
Sun Studio 9 Performance Tools (including collect, ...)
Sun Studio 9 X-Designer
Sun Studio 9 VIM editor
Sun Studio 9 XEmacs editor
Sun Studio 9 Native Connector Tool
Sun Studio 9 LockLint
Sun Studio 9 Building Software (including dmake)
Sun Studio 9 Documentation Set
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/cc": Sun C 5.6 2004/07/15
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/CC": Sun C++ 5.6 2004/07/15
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/f90": Sun Fortran 95 8.0 2004/07/15
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/dbx": Sun Dbx Debugger 7.3 2004/07/15
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/analyzer": Sun Performance Analyzer 7.3 2004/07/15
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/dmake": Sun Distributed Make 7.5 2004/07/15And to conclude I tried this
pstack core | c++filt
core 'core' of 15779: /opt/SUNWspro/bin/../prod/bin/sparcv9/dbx -g sync,stdio -c dbxenv supp
ffffffff7e8d3894 _lwp_kill (6, 0, ffffffff7e8b5dd4, ffffffffffffffff, ffffffff7e9ec000, 0) + 8
ffffffff7e84a5ec abort (1, 1b8, 0, 1a1b20, 0, 0) + 118
00000001000b4204 ???????? (1005fd, 100400, a, 100400, 10060b000, 100512e30)
ffffffff7e8d2798 __sighndlr (a, ffffffff7fffb7d0, ffffffff7fffb4f0, 1000b3f30, 0, 9) + c
ffffffff7e8c6a04 call_user_handler (ffffffff7e700200, ffffffff7e700200, ffffffff7fffb4f0, 8, 0, 0) + 3e0
ffffffff7db19b30 Pgetauxval (1012eae48, 7e3, ffffffff7f736c60, ffffffff7f61c5bc, 6f723c636861723e, 7e3) + 38
ffffffff7db0b12c Pbrandname (1012eae48, ffffffff7fffbfc0, 400, 0, ffffffff7f736c60, 821) + 8
ffffffff7db185a0 ps_pbrandname (1012eae48, ffffffff7fffbfc0, 400, 1001afee0, ffffffff7d806000, 1) + c
ffffffff7d701bfc _rd_reset32 (7e0, ffffffff7d806000, ffffffff7d806000, 100691860, ffffffff7d806000, 1) + 488
ffffffff7d700df0 rd_reset (1011f0540, 0, 1052ac, ffffffff7e8c88f4, 1, 0) + a8
ffffffff7d700eb8 rd_new (1012eae48, ffffffff7cf00160, 1025a6b40, 0, ffffffff7d806000, ffffffff7d806000) + a8
00000001003146e0 void RtldAgent::open(Pcs*,const ps_prochandle*) (101789570, 10062a180, 1012eae48, 100558, 1, ffffffff7d700e10) + 68
00000001001acbec ???????? (1012aec40, 0, 100691cf0, 10053dd33, 10053d000, ffffffff7fffc6e0)
00000001001addd4 Proc*ProcMgr::start(Target*,bool,bool,bool) (100512e30, 0, 100627a50, 0, 1012aec40, 10053e18e) + 92c
0000000100171bb8 int do_run(Interp*,bool,Level_e) (100400, 10053b000, 100400, 100512e30, 1, 100400) + 19c
00000001002abf28 ???????? (10056b477, 1025a7890, 10062b638, 0, 100642750, 10068ec70)
00000001002aac18 int pdksh_execute(Interp*,op*,int) (10062b5f0, 100643740, 0, 10062b5f0, 103084180, 101339a10) + 1c0
000000010029746c int pdksh_shell(Interp*,Source*) (10062b5f0, 102703bd0, 3, 100569df9, 100569e00, 1000b3c10) + 4c0
0000000100296eac int pdksh_command(Interp*,const char*) (ffffffffffffffff, 0, 1, 1, 10062b5f0, 10066bb40) + 88
00000001001523e0 void MyServantDbx::ksh_cmd(int,unsigned,const char*) (1006604e0, 0, 0, 1025a7714, 10052a, 10060c3f0) + 98
00000001002d82e4 bool Dispatcher::dispatch(ProtoReceiver*,MsgRcv*) (1002c1b4c, 1006604e0, ffffffff7fffd278, 1002c1b4c, 100000, 0) + 100
00000001002d4968 void Messenger::handle_message_help(AuthStyle,MsgRcv&) (1006604e0, 0, ffffffff7fffd278, 10056f358, 10056f000, 1002c8498) + a4
00000001002d46dc void Messenger::handle_message(AuthStyle) (1006604e0, 0, 0, ffffffff7fffd278, 10052b0d0, 100000) + dc
00000001002c87ac void Servant::cb_message(int,unsigned short,void*) (b, 10052b0d0, 1006604e0, 1003e3000, 1003e3, 100000) + 8c
00000001002c3ed4 void CBInfo::dispatch(int,unsigned short) (100625bc0, 10056f, 1003e1687, b, 100400, 1) + ac
00000001002c4304 void Notifier::invoke(int,unsigned short,CbData*) (10065f0b0, b, 1, 100625bc0, 1002c8721, 1002c3e28) + 18
00000001002c4b88 void NotifierDirect::dispatch_help(int,unsigned short,CBInfo*,bool*) (10065f0b0, b, 100400, 100625bc0, ffffffff7fffda2f, 1000000000000) + c4
00000001002c51ac bool NotifierPoll::dispatch(bool*) (10065f0b0, ffffffff7fffda2f, ffffffff7fffd630, 18, 1003e1d7c, ffffffff7fffd770) + 27c
00000001002c4d0c void NotifierDirect::loop(bool*) (10065f0b0, ffffffff7fffda2f, 1003e1, 10056eeb8, 100000, 1003e1b89) + 9c
000000010014fd0c ???????? (10062b5f0, ffffffff7fffdb1c, 100400, 10052a5b3, 100512e30, 10052a)
000000010029e874 ???????? (10062b5f0, 100400, 10056a69d, 0, 10066bb40, 1)
000000010029c888 int yylex(Interp*,int) (10062b5f0, 9, 0, 0, 10062b830, ffffffff7fffdc5c) + 220
000000010029a3fc int yyparse(Interp*) (10062b5f0, 100400, ffffffff7fffddd8, 0, 0, 1) + 18
000000010029c5c4 op*compile(Interp*,Source*) (10062b5f0, 10066bb40, 64, 100506000, 10062b798, 10066bbc8) + 28
00000001002972a8 int pdksh_shell(Interp*,Source*) (10062b5f0, 10066bb40, 100400, 100569df9, 100569e00, 1000b3c10) + 2fc
00000001000b817c void main_cmd_loop(Interp*) (10062b5f0, 100400, 100507c50, 1005e52e8, 100555400, 100507) + a8
00000001000b91ac main (100400, 100506, 100507c50, 10062b5f0, 100512e30, 1) + b8c
00000001000b1e3c _start (0, 0, 0, 0, 0, 0) + 17cSo can someone help me please ??You are seeing 6477975, which is fixed in dbx patch 117564-07 (which is for sparc) and 117565-07 (for x86).
However, if you are already on Solaris 10, I'd recommend to upgrade to Sun Studio 12, which is free, has many improvements and works much better with Solaris 10. If you, for any reason, can't upgrade compilers to Studio 12, you can still use Sun Studio 12 IDE plus debugger and compilers from Studio 9. It is easy to install several versions of Sun Studio on a machine, you just need to give different base directories to the installer. -
Javax packages not found for J2SDK 1.5.0
Hi,
I am very new to Java SDK. I just installed J2SDK 1.5.0 beta 2 and installed it on my RedHat 9.0 box with root permission at /usr/local/(java-home)/
I can compile simple applications which do not import extension packages. However, when I try to compile an application importing javax.swing.* , I get the below error message:
Craps.java:9: Can't find default package `javax.swing'. Check the CLASSPATH environment variable and the access to the archives
Craps.java:11: Superclass `JApplet' of class `Craps' not found.
public class Craps extends JApplet implements ActionListener {
The code of this application is correct, coz I can compile and execute it in Windows.
Can anybody help me with this problem?
Thanks!Hi Joni,
Thank you for the reply!
I've solved the problem with your inspiration of the ClASSPATH. This is for the reference of those who may encounter the same problem as me.
I installed Redhat 9.0 with default settings and those bundled packages (could be normal to many Linux newbies like me :) There is a default java compiler installed, I guess, and it's bundled with gcc. So when I tried to compile my .java files, the javac comand from j2sdk was not involked. Instead, it's the default-installed java compiler that correspended to my command. I guess this is why no matter what I changed in the .bash_profile in my home directory, the j2sdk command javac had not executed.
After I uninstalled this one, and add j2sdk/bin into my CLASSPATH, everything works fine now.
Btw, I found out this problem by simply typing "javac" in the terminal and read the help suggestions that followed. -
Can I run Solaris 10 with a Radeon 9550?
Hi!
I would like to install Solaris 10 on my x86, but I'm not sure if my Radeon 9550 is supported. The driver download center at ATi has only Windows and Linux. Does the Linux driver work? Or better, has Solaris 10 integrated support for this graphics board?
Thanks.Solaris 10 x86 includes:
1. a radeon driver from Sun, for Xsun
2. the radeon driver from X.org, to be used with Sun's Xsun X11
server
3. a VESA driver frlom X.org, for Xsun
4. the complete X.org X11 server, including X.org's radeon driver
5. X.org with VESA
I don't know if your specific model of the Radeon 9550 will be
recognized without problem, but with five drivers to choose from
I'd say chances are quite good that it works. -
After a full installation of Solaris 10, dtlogin will not start up after wat it seems a couple of retries to find a
correct video mode. During the installation process X started up just fine so it is not a hardware problem.
I will look into this problem but would appreciate if someone can shed some light on this.
RegardsI made an installation with the lasst beta of solaris 10 on a blade 1000 wich worked fine with solaris 8 and 9, then after installing the beta X didn`t start.
I passed the machine to a customer of mine who urgently needed a Sun and he reported they were not able to start X. I think they donwgraded to Solaris 9 to work
Then I used days later the final release of Solaris 10 on a Ultra 60 with Elite3d. Same problem, correct installation using the graphic enviroment, but at restart X didn`t started. I even formatted and reinstalled ... nothing
I always had X works at the first try on different hardware (from sparc 5 to Blade 1000) using from solaris 6 to solaris 9.
Now X really doesn`t work...
Some one can offer a suggestion on how to fix this?
Should not X correctly run without any trick on standard Sun hardware when the installation was succesfull?
Which additional setting are necessary to let X works under Solaris 10 on standard Sun hardware?
Thank you. -
What is better to install in a new system?
I am new in ORACLE and I want to install oracle in a computer.
What is best to install:
ORACLE 9i or ORACLE 10g database.
What OS is better:
WINDOWS, SOLARIS OR LINUX.
Thanks for you help.<br>It's OK.</br>
<br>To choose your version, perhaps the best way to start is to read requirements.</br>
<br>Oracle 10g release 2 Database Preinstallation Requirements</br>
<br>Oracle 9i release 2 Database Preinstallation Requirements</br>
<br>And to download Oracle here</br>
<br>Nicolas.</br> -
The iPlanet-WebLogic Server 5.1 on Solaris
Does the iPlanet-WebLogic Server plug-in is supported on Solaris platform?.
Hi Matt,
How do you like it? Is it very stable? I had heard complaints on the
earlier iPlanet releases (mainly on NT), but I assumed that they were
probably working better on Solaris. What does performance look like? Did
you use Netscape server before, and if so, are there any particular
differences?
Thanks,
Cameron Purdy
Tangosol, Inc.
http://www.tangosol.com
+1.617.623.5782
WebLogic Consulting Available
"Matt Potter" <[email protected]> wrote in message
news:3a819419$[email protected]..
> Trang,
>
> It does. I'm using iPlanet 4.1 w/WLS 5.10 sp6 on Solaris 2.6. Check the
> platform notes at BEA http://www.weblogic.com/platforms/index.html#plugin
> for details. -Matt
>
> Trang wrote in message <3a80ad07$[email protected]>...
> >Does the iPlanet-WebLogic Server plug-in is supported on Solaris
platform?.
>
>
-
Migrating Solaris with out migrating Sun Studio
HI ,
Currently we are using sun studio 8 on solaris 8 to compile our application(C++).
We are planning to migrate Solaris 8 to solaris 10. Will there be any problems, If we use sun studio 8 on sun solaris 10.
Thanks and Regards,
VenkatMr.Bond wrote:
HI ,
Currently we are using sun studio 8 on solaris 8 to compile our application(C++).
We are planning to migrate Solaris 8 to solaris 10. Will there be any problems, If we use sun studio 8 on sun solaris 10.Technically speaking, this combination is supported. However, it is rather old, it predates Solaris 10 and having all latest patches installed is a must (see http://developers.sun.com/sunstudio/downloads/patches/ss8_patches.html for list of patches available).
If your final goal is to upgrade both OS and compiler, then switching to Solaris 10 and staying with Sun Studio 8 is a good idea; this way you minimize differences. After dealing with OS differences, you will be able to upgrade to Studio 12 update 1 (most recent release) more smoothly. Latest Sun Studio release is preferable because
- its compiler better conform to the standard,
- they generate better code,
- whole suite works better on Solaris 10 since it was developed and tested on Solaris 10,
- IDE is a huge improvement compared to Sun Studio 8.
However, if you choose to stay with Sun Studio 8 (remember, end of support life is just one year away), I'd recommend purchasing support contract so that if you happen to run into a problem, it is solved with Sun Studio 8 patch, not in the next Sun Studio release (13?), which will be unacceptable for you. -
Solaris 10 vs sun studio 7 forte
How better is solaris 10 tools compared to sun studio 7 forte tool ... is the compiler of better performance?
Are you asking about specific tools included with Solaris 10
or Sun Studio 10 ? If the latter, the newer version has considerable
performance improvements over the older one. If you're referring
to the gcc that's included on an extras/bonus CD, that's a more
difficult question to answer since there are quite a few factors
involved. I believe there are documents online with some
comparisons.
In any case, the latest version of our compilers is Studio 11 and
it's available as a free download from:
http://developers.sun.com/prodtech/cc/downloads/sun_studio/index.html -
Adobe Reader for x86/x64 Solaris
What is the idea behind this? Why don't we have a version for Intel processors? Can Adobe answer?
Yes, we have the v4 release, but, well, it pretty much sucks. I did send a message to a person at Adobe who replied that
Contrary to what people presume, coming out with a huge product like a Reader on an additional platform, isn't simply a re-compile. There are various 3rd party components that the Reader ships with (internal and external) and the team needs to evaluate what the schedule for these dependencies would have, also there's a ton of extra testing involved the moment we add an additional platform. Also, there's market viability, where we look at the numbers or the traction a platform is getting before we take a decision.
It's not clear to me that if they have versions for both Linux/x86 and Solaris/SPARC that creating a version for Solaris/x86 should be all that difficult. I can't think of where they would have library problems. I do understand the testing point. Testing GUI-based programs is a human-intensive undertaking. I don't understand how "market viability" for Solaris/SPARC could be better than Solaris/x86 at this point.
He also included a pointer to the Adobe 8.1.1 FAQ: http://blogs.adobe.com/acroread/2007/09/adobe_reader_811_faqs.html
Skip -
Hello guys,
I have installed the J2SDK on my UNIX box (Sun solaris), have developped a small app and need to deploy it on other UNIX boxes. It seems to me useless to install the full package of the SDK on these boxes and was consequently wondering whether the j2sdk\jre directory would be just fine or if I have to install the JRE package ?
Thank you for your help.
Regards.Take a look at the readme of the JRE (in the jre-folder):
The Java 2 Runtime Environment is intended for software developers and vendors to redistribute with their applications.
In fact, i dont think its legal to redistribute the J2SDK
--> Yes it should be enough to include only the jre
Harry -
I'm getting out of perm space in an uncertain condition.
The problem can be reproduce with all those settings:
Tomcat 4.1.27 , J2SDK 1.4.1_02 , SunOS 5.8 sparc.
Tomcat 4.1.27 , J2SDK 1.4.2_01 , Windows 2000 pro.
Tomcat 5.0.16 , J2SDK 1.4.2_01 , Windows 2000 pro.
Tomcat 5.0.16 , J2SDK 1.5.0-beta , Windows 2000 pro.
Resin 3.0.5 , J2SDK 1.4.2_01 , Windows 2000 pro.
oc4j 10g (9.0.4) , J2SDK 1.4.2_01 , Windows 2000 pro.
I've used VisualGC to monitor the Memory used by the JVM.
The problem is hard to reproduce but occur when class contained inside a war file (WEB-INF/lib or WEB-INF/classes) are loaded into a classloader.
Normally when a web application is loaded into an servlet container a new classloader is created and the class from WEB-INF/lib and WEB-INF/classes are loaded into the classloader when needed. When a class is loaded the code and symbols are stored into the permanent space. Normally when the classloader is garbage collected, the perm space are release.
The problem occur for certain web application. When some classes are loaded into the classloader a certain condition prevent the JVM from flagged the classloader as collectable. Those class are not constant. I've used the -verbose JVM option to see the class loaded and found nothing in common between the problematic .war files. This problem leads to an increase of the Perm Space size on each reload of the guilty web application. And this leads to some OutOfMemoryError when the perm space reach 64M (this is the default). Increasing the Perm Space is just a temporary solution since the JVM will have to be shutdown and restarted when the Perm Space is full.
My next step is to try other JVM implementation.
Thanks for any help.I can't figure out how a class can hold that reference. The problem can be reproduced inside a web application that use sun's web service developper pack. Here's a short description of the application.
I've created a smaller application of the original which is a simple servlet that only have a init() method.
Inside the init method I create a client stub with the scope local to init() method. So at this time the classloader loads a couple of classes inside the classloader related with a client jar that contain stub created with wscompile (a tool from the web sevice developper pack used to create soap client stubs) and jaxrpc-impl.jar.
The problem is not just related to this application it can be reproduce with another app that use struts (a framework for building web presentation).
The problem came up when we use the servlet container with a bigger application that was in development that use sun's soap implementation. After for example ~ 12 reloads (which means unreference the classloader and creating a new one) of the application the JVM start to throw OutOfMemoryError.
If I increase the size of the Perm generation it only push back the problem. -
Package manager - question?
Hello folks,
I wish to know why Package manager in openSolaris is so
slow application. I know that it is written in Python, but
I still do not understand why somebody did not offer some
patch for that application. I will help honestly in programming
if you need coders.
UrosPlease send your question to [email protected] That is the best place for discussion OpenSolaris packaging tools such as packagemanager. This forum is better for Solaris installation issues (from Solaris 10 and SXCE, for example).
-- Alan -
i use win xp pro, j2sdk 1.4.0, beta 2, now installed j2sdkee 1.3.1 under C:\Program Files\,
but cannot start all commands like j2ee, i got such error message:
"'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'-Dorg.xml.sax.parser' is not recognized as an internal or external command,
operable program or batch file."
please help, many thanks!thanks.
but when i re-installed j2ee under D:\j2sdkee, i still the same error message, however less, [j2se still stay in C:\Program File\]
"'C:\Program' is not recognized as an internal or external command,
operable program or batch file."
Maybe you are looking for
-
Voice Memo is missing from my iPhone. Not on any home screen, not in iTunes, and can't download it from the App store. Any thoughts?
-
Hi, I received a semi working powerMac G4 Cube from a freecycle community, and while initially it worked fine, I had to dissemble the unit to replace the dvd drive which had a dvd stuck in it. I used one from a second unit that I was also given and I
-
What property of the 'Nokia Camera' "highres" (hig...
Hello, I use Nokia Lumia 1020, and I'm wondering exactly what property of 'Nokia Camera' "highres" (high resolution) photos make them hidden from 'Camera Roll' and 'Photos'! As you know, each photo is saved as a 'low resolution' (5MP) and a 'high res
-
Hi, I have a e90 and I was changing the housing on it. I got it all together but now something weird is happening. The Internal LCD screen is always on, even when the phone is closed its still on and the external screen will not activate. I know the
-
hi, can any body explain me what is rule+ and what is rule- in transformations and what is the use?. i have tried adding the object and its populating to the target . but what is the use of it? regards, manju