Is Solaris better for Java than Linux?

Hi All,
I am going to set up a distributed processing architecture in Java using RMI and other techniques.
I will be using 2 servers(few more later), one will be used for fetching data from external resources like network/web, etc. and the other server will be used for processing that data.
Now, i am using Linux, however, i have been reading a lot about Solaris 10 and especially its 2 main advantages for using it for Java development.
1) Java is native to Solaris.
2) Solaris has a much better support for multi threading than Linux.
Please suggest me if i should move to Solaris 10
Thanks in advance

This is not my personal opinion, i am saying what link from sun.com saysNo, "+So, *i think* that Solaris *has much more power* than Linux.....and we have to find on that....+ " is your personal opinion. It is not what the article says.
It's an old article, and it's talking quite specifically about threading models. Assuming for the sake of argument that the article is still accurate, it still doesn't answer the question of which OS is more suitable for your application - that will depend entirely upon the characteristics of the application itself.
...and i have asked this to you all just because i may find anyone that have used Solaris with JavaNobody can tell you how your application will run with either Solaris or Linux. If that sort of fine distinction is important you'll need to benchmark it, or at least take into account the actual threading metrics of your application.
Choices between Solaris and Linux are generally made on management, environment, hardware, and other grounds, not the "does it run Java faster" question. For example if you're running on a platform with Niagara then of course you run Solaris. If you're going to need extensive runtime debugging instrumentation then you run Solaris just for DTrace. If you're running on commodity hardware then you probably run Linux for driver issues alluded to here.
Your question, as asked, is unanswerable. Ask a better question.
Edit: Or to give you a far more efficient version of the above "Try it and see." as given by Keith in reply 1.

Similar Messages

  • Printing from SAP GUI for JAVA on linux

    Hi All,
    What are the settings to be made in SPAD for printing from sapgui for java on linux ?
    We are using SAP GUI for JAVA 700 .
    Regards,
    Vinod

    Hi,
    configure printer in SPAD  , no setting for JAVA GUI
    check note
    605467:SAPscript/Smart Forms: Print preview in SAP GUI for Java
    634158      SAPscript/Smart Forms: Print preview in SAP GUI for Java (2)
    1024624 SAPscript/Smart Forms: Print preview in SAP GUI for Java (3)       
    regards,
    kaushal
    regards,
    kaushal

  • Home music recording- is the Mac Pro better for this than an iMac?

    I know it seems like a daft question but if you were to recommend a Mac for a DECENT home studio and money were (within reason) nearly no object WHAT Mac would you recommend? I always believed that a good sized desktop would be better than an iMac or a MacBook Pro (which is what I have been using for just a hobby home recording set-up) but is this a myth?
    Please advise because the Mac Pro looks SCARY. I mean- the options are vast but what DO I NEED as opposed to want? Thank you kindly for reading.

    I guess there is nothing wrong with the set-up except that the MacBook Pro is mine and the musicians need their own as I need mine for work.
    Ah, I see. I think an iMac should be sufficient. Just be sure to get more RAM than the stock 1GB. Apple's prices on RAM are pretty severe compared to other vendors, so I'd recommend adding RAM after purchase. If you search the iMac forum for "RAM UK", you should find recommendations on reliable vendors. Don't go with lowest price; there's nothing that can cause you fits with a computer system more than flakey RAM, so you want a vendor with a good reputation for quality. I'd suggest bumping the iMac to the maximum 4GB. As to screen size, I tend to prefer having two screens rather than one big one - you can put palettes on the second monitor - so if it's a choice and desk space is sufficient, consider a 20" iMac and a second 17" or 20" screen to go with it.
    If you reckon the interface is enough to do the mic justice and that Logic Express or Pro would do when the musicians know and love Cubase then I am happy to help them learn more Mac-based software and get that instead as it is also cheaper and looks like it would make more sense to ME.
    Unless they're wedded to Cubase, I'd think that Logic Express should work quite well. You may all want to take a trip to an Apple reseller and take a look at it.
    Unless there is a reason to "upgrade" the interface I guess that is one less item to acquire
    An upgrade would seem logical only if the Safire isn't giving the quality you want or there aren't enough inputs.
    I'd call your recommendation but I am in the UK and will probably talk to the nice folk at Dolphin Music in Newcastle as that is where I got the interface.
    I wasn't sure where you were. If you are located in or near Newcastle-On-Tyne, you can find a list of authorized resellers here, or if you're near Manchester or Sheffield or don't mind taking a paddle down, you can drop by an Apple Store. You can then perhaps preview Logic Express before you decide. You might want to call before you make a special trip just to make sure your dealer can indeed demo LE.
    Final recommendation; get really good microphones. Garbage in, garbage out, as they say, and having the right microphone, one that's suited for the instrument that's being recorded, is vital. The Neumann is of course high quality, but if you haven't already purchased, check around. You can find really good mics for less than Neumann charges; unless things have changed, you pay a bit of a premium for their reputation. AKG used to make really good mics, quite well suited for piano and acoustic guitar in particular, and there are no doubt others as well (my knowledge of specific models is rather out of date).
    Cheers.
    Message was edited by: Dave Sawyer
    EDIT: P.S. If you can find Mix Magazine or EQ Magazine, those are pretty good reading. Lots of tips, product reviews, etc. Also, you can read a brief review of Logic Express 8 here:
    http://www.macworld.co.uk/digitallifestyle/reviews/index.cfm?reviewid=2370

  • Solaris SAPGUI for Java 7.10 rev 8 try  error JniAgiLibAdaptor. init

    i have a problem java sapgui.
    Launch the Sapgui and then try to connect to any one of the three choices and it should produce the following error.
    i am running this on a Solaris 10 32bit. This sam java SAPGUI runs fine when i boot into the windows xp pro. Hope this helps.
    gui version;
    SAPGUI for Java 7.10 rev 8 (java),
    no library (lib)
    (Version ID 071000040800)
    Mon Mar 30 10:34:24 MEST 2009
    uw1059, 710_REL, 1054563
    Java VM: Sun Microsystems Inc. Version 1.6.0_14
    OS: SunOS(x86) Version 5.10
    The version of Java being used is:
    java -version
    java version "1.5.0_16"
    Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02)
    Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing)
    Thank You,
    Ferhan
    JniAgiLibAdaptor.<init>: Cannot load JNI library
    details;
    java.lang.Exception: JniAgiLibAdaptor.<init>: Cannot load JNI library
    at: com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:29)
    at: com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:283)
    at: com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:297)
    at: com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:798)
    at: com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:838)
    at: com.sap.platin.base.logon.GuiLogonFrame$SymListener.actionPerformed(GuiLogonFrame.java:443)
    at: javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at: javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at: javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at: javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at: javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at: java.awt.Component.processMouseEvent(Unknown Source)
    at: javax.swing.JComponent.processMouseEvent(Unknown Source)
    at: java.awt.Component.processEvent(Unknown Source)
    at: java.awt.Container.processEvent(Unknown Source)
    at: java.awt.Component.dispatchEventImpl(Unknown Source)
    at: java.awt.Container.dispatchEventImpl(Unknown Source)
    at: java.awt.Component.dispatchEvent(Unknown Source)
    at: java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at: java.awt.LightweightDispatcher.proc
    Attempt to load shared library
    /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so failed.
    The library file exists, so either the program has
    insufficient privileges to access the library or the library
    is not loadable by the shared object loader.
    Please recheck the system requirements for your operating
    system and make sure all required libraries are installed.
    details;
    ava.lang.UnsatisfiedLinkError: /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so: ld.so.1: java: fatal: /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so: wrong ELF data format: ELFDATA2MSB (Possible cause: endianness mismatch)
    at: java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at: java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at: java.lang.ClassLoader.loadLibrary(Unknown Source)
    at: java.lang.Runtime.load0(Unknown Source)
    at: java.lang.System.load(Unknown Source)
    at: com.sap.platin.r3.util.GuiJniLoader.loadPlatinLibrary(GuiJniLoader.java:56)
    at: com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:27)
    at: com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:283)
    at: com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:297)
    at: com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:798)
    at: com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:838)
    at: com.sap.platin.base.logon.GuiLogonFrame$SymListener.actionPerformed(GuiLogonFrame.java:443)
    at: javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at: javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at: javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at: javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at: javax.swing.plaf.basic.BasicB

    > i am running this on a Solaris 10 32bit. This sam java SAPGUI runs fine when i boot into the windows xp pro. Hope this helps.
    >
    > gui version;
    > SAPGUI for Java 7.10 rev 8 (java),
    > no library (lib)
    > (Version ID 071000040800)
    > Mon Mar 30 10:34:24 MEST 2009
    > uw1059, 710_REL, 1054563
    > Java VM: Sun Microsystems Inc. Version 1.6.0_14
    > OS: SunOS(x86) Version 5.10
    The Java gui runs
    - on 64bit only
    - on SPARC hardware only (not on x86)
    If you execute the command
    file /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so
    you'll see that the library is just for SPARC.
    Markus

  • Macbook came with an AC cable and an AC plug, is one better for charging than the other?

    Macbook came with an AC cable and an AC plug, is one better than the other for charging?

    The 3-prong AC cable provides for proper gorunding, and will alleviate any "vibration/electrical" sensation on the casework.

  • Need help for java and linux

    Hi, guys,
    I am being involved in a project.My current task is to build an interface using java. This interface will obtain some information from a linux-based software called NistNet, which is done by C and has GUI as well. My question is, can I use this java-based interface to obtain some information that is typed in this NistNet'GUI? If I can, how can I do that?
    Any hint available?
    Thanks!

    You can bridge between Java and C using the "Java Native Interface" (JNI). There used to be a good tutorial on this site but it vanished for no apparent reason in some resent update, so try a websearch.
    See also
    http://java.sun.com/j2se/1.4/docs/guide/jni/
    http://java.sun.com/j2se/1.5.0/docs/guide/jni/

  • IOS 6.0.1 working better for me than 6.0, How about you?

    I have an iPhone 4S and it got pretty buggy when I updated to iOS 6.0.  I waited as long as I could before updating to  6.0.1 but when I saw the story on Engadget about iOS 6.0 causing a lot of phones to repeatedly download the same data/apps/texts, etc. I took the plunge and updated to 6.0.1.
    Glad I did.  After I installed the update using iTunes and not OTA I did a reset, ran the battery down to zero and charged it for about 10 hours.  Today the battery life is as good as I have seen it since I updated from 5.X and the wifi connection problems I had been having seem to be resolved.  The 6.0.1 update was only suppsed to fix the wifi issues for iPhone 5 but whatever they put into this update seems to havre really helped.
    I also started setting Proxy to Auto on public wifi networks and this really made a difference when I try to log on to them.  I can now actully connect without having to restart/reset my phone and network settings.  And I stay connected. 
    I am considering updating my iPad to 6.0.1 but I may just wait until they release 6.1, which looks like it will be around new y

    It's been five days since I posted my question.  And I have been very happy with the performance of my phone.  Wifi is great now that I disovered that putting proxy on Auto seems to help with most hotspots, especially at work.  Battery life is really good.  I can get through the day with normal use, make and receive phone calls, send and receive text messages, use normal apps, play games, look things up on the web, etc.  Nothing really heavy but normal usage for me and I am at 30 - 35% battery left at midnight when I plug my phone back in to charge over night.
    Now that AT&T has finally given up on holding those of us with unlimited data plans hostage from using Facetime over Cellular ( I have a 4S running iOS 6.0.1) I may give that a try to see what happens with my battery life there.
    It will be interesting to see what happens when 6.1 is released and what it fixes or breaks.

  • How to check actual allocated and used memory for java process in solaris?

    Hi,
    I'm testing performance for java application on solaris 10. And I would like to know how to measure actual memory allocated and used for java process.
    I'm setting -Xms512m -Xmx512m for my java process and I use prstat command to monitor it's memory. But I found that when I run prstat to check, in SIZE column is more than I setting (found 644).
    So I'm don't know the actual memory that java process used. (In this case,is it mean the process use memory (644) more than setting (512)?)
    Thank you.

    With Xms/Xmx you specify the Java heap size. On top of that comes the permanent generation (default max size 64m) and the C part of the process (the JVM itself with all its libraries and data).
    With "ps -e -o pid,vsz,rss,args" you get the virtual and set resident size of your processes.
    Nick.

  • Spotify 1.0.11 beta for Linux is out, with 32-bit binaries!

    Hello Linux users!
    Today we've released Spotify client version 1.0.11 for Linux. There are some big changes in this version, and it's still considered to be a beta release, and will be in beta until the items in the "known issues" list below are resolved. If you want to try out this version, installation instructions remain the same as for the other betas:
    echo deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list
    sudo apt-get update
    sudo apt-get install spotify-client
    or if you have a previous version installed, simply:
    sudo apt-get upgrade
    Since the previous public release (version 1.0.9), we've made the following Linux-specific changes:
    32-bit binaries are now available! Now users on i386 systems can try out the 1.x betas as well. Please reply to this thread with any technical problems that you encounter on that architecture.
    libnotify is now an suggested package dependency. If you don't have that library installed, this feature will simply be unavailable.
    Updated application icon in the spotify.desktop entry
    GPU acceleration is disabled (see below)
    This build ships with the following limitations, of which we are still currently working on:
    Proper dbus support for MPRIS MediaPlayer2
    There is no application menu
    It is not possible to re-enable GPU acceleration through the settings
    Important: regarding GPU acceleration, this is now completely disabled in the client, and we do not yet have a way to enable it in the preferences. This change was originally made in Chromium for Linux, but since the Spotify client uses CEF, we inherited this change from them. According to the Launchpad bug report, faulty GPU driver support was the single largest cause of crashes for Chromium on Linux (this graph shows how Chromium crashes on Linux have dramatically decreased after the setting was changed).
    Depending on your hardware and GPU drivers, this change is either going to be a big annoyance for you or a huge blessing. For our users who experienced frequent and strange crashes with the client, this change will probably greatly increase client stability. For other users with certain video cards, scrolling performance and redraw rates may be noticeably choppier. Some users won't notice anything at all.
    The obvious solution here is that our Linux client needs a toggle to manually re-enable this feature in the settings. Exposing this feature is not as straightforward as you might believe, or else we would have done it already. ;) However, we're working on a way to do just that, and hopefully will have something in place for the next beta release.

    nikreiman wrote:
    blubbo wrote:
    Thanks for your continued support for Linux! It _is_ appreciated! :) Any chance the queing over Connect is gonna be looked at soon? The windows client seems to only be able to queue one song. If there already is one song in the queue nothing happens when you try to add another (except for the weird reshuffling that happens whenever you touch the queue). And if there are more than 1 song queued, the windows client removes all but the first one. From Android it works almost always. This is the only complaint I have with the Linux version but it's kind of a deal breaker when using it soley as an headless music player.This sounds like a bug, and a non Linux specific one at that. I'll look into this, however there are some changes to the player stack which will also effect connect that we are just rolling out. These changes will not require a client update, so there is a chance that you'll notice this behavior "magically" fix itself in the upcoming weeks. Anyways this is not a known limitation from our end for Linux users, we will investigate this bug.Good. Controlling -> PlayingWindows -> Android: Queing in itself works. But the queue gets cleared when the first song in it starts playing.Windows -> Linux: As explained above.Android -> Windows: Queing in itself works. But the client shows information for the song directly after the queued songs.Android -> Linux: Queing in itself works. But the client shows information for the song directly after the queued songs. So ... abrakadabra? :)

  • Gui710 for java rev7 run in ubuntu(linux os)

    hello,
    I install the gui 710 for java rev7 in ubuntu(linux) whose java version is sun java Version 6 Update 11 . I can only run the guilogon and start graphic window in the command mode, but can not start graphic window when double click the guillogon icon in start menu. can you give me any solutions?

    It sounds to me that your gnome-terminal uses different environment variables than your shell (bash/csh/..).
    Please try the following:
    (1) create a file in the /?/SAPGui/bin directory called guilogon_local
    (2) The content of the file should be:
    #!/bin/sh
    export PLATIN_JAVA=###PATH to your 32bit JAVA executable
    /?/SAPGUI/bin/guilogon
    (3) chmod and chown the new file so you/your user can execute it.
    (4) change the comand attached to the SAP GNOME-Icon to your new guilogon_local
    The new file will actually set the PLATIN_JAVA environment and call afterwards the linked guilogon.
      Christian

  • Accelarate the Linux ATI Graphics card  for java Swing application

    Hi All,
    I am using a ATI Radeon 9550 Graphic card in LFS (Linux from the scratch) environment. I want to enable the OpenGL-based pipeline for Java Swing application. I tried the -Dsun.java2d.opengl=true . But the Java swing application getting very slow.
    How to overcome this problem?
    Any one give the procedure to Accelerate ATI graphics card for Java Swing Application
    How to verify Java swing use ATI graphics card ?
    Thanks in advance..
    Prabhu.S

    Hi All,
    I am using a ATI Radeon 9550 Graphic card in LFS (Linux from the scratch) environment. I want to enable the OpenGL-based pipeline for Java Swing application. I tried the -Dsun.java2d.opengl=true . But the Java swing application getting very slow.
    How to overcome this problem?
    Any one give the procedure to Accelerate ATI graphics card for Java Swing Application
    How to verify Java swing use ATI graphics card ?
    Thanks in advance..
    Prabhu.S

  • Which is better for gaming Java or C++?

    a friend of mine told me that C++ is better for gaming, but i'm not sure. the thing about C++ is that i've been studing it for the past 3 years and still don't have a strong grasp of it, but java is much more direct and i'd much rather develop my games in java.

    I have finished to programme a game (Space Commanders) using pure java
    http://www.geocities.com/ddmusc/SpaceCommanders. Now I am re-programming the game using Visual C++ . Once I finish I shall put the windows version on the same site. It will be an interseting example of differences in performance between java and C++.
    For programming I think java is easier since it takes automatic control of memory. Problems such as wild pointers , memory leaks and this kind of stuff are not an issue in Java. Unfortunately this is in itself also a disadvatage since you don't have much control on the amount of memory java is allocating (and at what time it deallocates it).
    Java is also a bit slower because of its automaticity and high level structure. What makes me a bit angry about java is that programmes are normally CPU intensive. It is difficulty to run java programmes on old computers such as 486 or Pentium 1. This reduces the portability of the programme which though it can run on many different OSs it can't run on many different computers.
    Daniel

  • BW Bex Browser in SAP GUI for JAVA 6.40 R2.2 for Linux Desktops

    Hello,
    I am using SAP GUI for JAVA v 6.40 R2.2 on a Linux desktop. But during the installation it doesn't ask for BW Bex installation option (as in SAP GUI for Windows). Is it the case that BW Bex is not supported in Linux Environment? If it is then kindly suggest some way to install the same.
    Regards,
    Yashodhan

    Hi Yashodhan,
    the Business Explorer does not exist in the Linux environment.
    Best regards,
    Christian

  • Schedule for Java ME SDK 3.0 for Linux?

    Hi,
    thank you for Java ME, we are using it since many years with on Linux development platform.
    Currently we plan to use the Sensor API, which is missing in WTK2.5.2 for Linux.
    What are the current plans for Linux?
    thanks,
    Marcel

    Another +1
    Come on Oracle, get it together. And why are you being so evasive about answering the OP's question? Is there a release schedule for Linux or not? For some reason I suspect not and you're desperately trying to avoid saying so.
    If there's no J2ME for linux there's no point me trying to write Java mobile apps any more. I suspect I will not be the only person to switch to writing Android apps instead. Google seem to understand and respect their Linux programmers.

  • Solaris 10 for Linux Administrators

    I'm trying to decrease the slope of the Solaris 10 learning curve.
    I've worked with Linux for many years, and I know it's quirks.
    I'm very new to Solaris.
    Does there exist a good resource written from the perspective of a Linux administrator who wants to learn to properly administer Solaris?

    Go to docs.sun.com
    You will get lot of reading material. Both os are very similar , so you should not have any problem when you first work with solaris.
    Caution : Dont assume all commands and switches will work on Solaris if it works on Linux. I spend hours to make cvs web working on Solaris. But it works with very less effort on red hat linux.
    Best Luck.
    Mahendra Rajgude

Maybe you are looking for