How to run swing on mac

Hi there!
Please can anyone help me through this problem?
I have an java application, using swing, which runs perfectly on a windows machine
But when i try to view the same application on mac it gives me
java.land.NoClassDefFoundError
I have installed MRJ2.2.5 on the machine
also i have put the swingall.jar and mac.jar files in the MRJClasses folder
Further i have also put the MRJPlugin in the IE5 Plugins folder (which is the browser i use to view the application)
Even then my application doesnt work
Please send in some solution ....its very urgent!!
there is a sample program on javas web site....
http://192.9.48.9/products/plugin/1.3.0_01/demos/jfc/SwingSet2/SwingSet2.html
this program gives the same error on mac
Your help in any form will be highly appriciated
Thanks
Shruti

You can't load the Java 1.3 swingset demo because MRJ only implements Java 1.1.8. Try loading a Java 1.1 demo.

Similar Messages

  • Longman Exams Coach CD - How to run on a Mac

    I have recently bought +Longman Exams Coach+ CD, but it unfortunately won't run on Mac because it is incompatible with it (compatible only with Windows XP/2000). Do you about any way how to run it on Mac, which wouldn't pricey like VMWare Fusion or Windows 7 with BootCamp Assistant? I need an easy and inexpensive solution to run this CD.
    Or, if there isn't any way to run in it Mac, do you about any other such a CD (of course compatible with Mac) that has exam practice, exercices, dictionary, etc.?
    Thanks for help!

    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    1. Install the Apple Boot Camp software. Purchase Windows XP w/Service Pak 2, Vista, or Windows 7. Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows. Boot Camp enables you to boot the computer into OS X or Windows.
    2. Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7. Parallels is software virtualization that enables running Windows concurrently with OS X.
    3. VM Fusionand Windows XP, Vista Business, Vista Ultimate, or Windows 7. VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    4. CrossOver which enables running many Windows applications without having to install Windows. The Windows applications can run concurrently with OS X.
    5. VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris. It is not as fully developed for the Mac as Parallels and VM Fusion.
    6. Last is Q. Q is a freeware emulator that is compatible with Intel Macs. It is much slower than the virtualization software, Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc. There are performance differences between dual-boot systems and virtualization. The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system.
    See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion.
    Boot Camp is only available with Leopard or Snow Leopard. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows. You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • How to run disk utility mac book air

    how to run disk utility mac book air it is very slow on boot up

    Here's a general article about slow startup: http://support.apple.com/kb/PH10929
    It suggests there may be a third party hardware issue.
    Otherwise, you can boot from your recovery disk as shown here: http://support.apple.com/kb/PH10603
    Your recovery disk was automatically created when Lion was installed.  You'll have it as a separate partition and be able to boot from it as if it were a separate disk.

  • Urgent ! how to run swing from dos

    hi
    how should i run swing program through dos prompt.when found in i tried compiling from c:\jdk\bin i got an error "package javax.swing not import".
    viji

    what you willdo is this,
    at the top of your code type the line.
    import javax.swing.*;
    //for event type the next line..
    import javax.swing.event.*;
    import java.awt.event.*;
    I think this should solve your problem.

  • How to Run Swing in Browser

    Hi frnds
    I gotta a Problem in swing.I want to run my swing in Browser.I have tried it with JApplet.But i can execute it only in Console.using appletviewer <filename>.html
    how to run it in browser.
    Please Help Me..

    Quite easy, well for you. You have to have the newest java plug in working in your browser, but as a flaw, if a user wants to access it they need to download it too, but there is a way in the new JDK i believe to have the JRE on Suns server to run the applet, so the user w/o the Swing librarys can use the applet w/o problems

  • How to run swing applets in a browser??

    I understand it is a typical question and there lot of articles on it. I tried but am confused. I installed JRE1.3 which has java plug-in along with it which supports swing applets in a browser.Once i got that plug in i also downloaded html converter but am confused how should i run my swing applet.Can anyone please explain in simple steps as to how to achieve this objective..Thanks much in advance..an example would be of real big help
    Thanks

    The below links will help you.
    http://java.sun.com/products/plugin//1.3/docs/index.docs.html
    http://java.sun.com/products/plugin/1.3/plugin.faq.html

  • How to run swing applets???

    I already posed this question yesterday but i got no replies.please help me out.
    I understand it is a typical question and there lot of articles on it. I tried but am confused. I installed JRE1.3 which has java plug-in along with it which supports swing applets in a browser.Once i got that plug in i also downloaded html converter but am confused how should i run my swing applet.Can anyone please explain in simple steps as to how to achieve this objective..Thanks much in advance..an example would be of real big help
    Thanks

    u need to convert ur html-page with the applet-tags with the htmlconverter.

  • How to run windows in Mac

    Just bought a Mac mini, I used windows for years &amp; very much new to the Mac system. Since all my docs In Microsoft excel &amp; word, I also bought a software called parallels
    Kindly guide me how to install the windows MS softwares in my Mac mini using Parallel software

    Read the Parallels documentation. Get a retail Windows 7 installer DVD. For issues with Parallels visit their forum for assistance. For issues with Windows use the Windows forums here or at Microsoft.

  • How to run windows inside mac

    Want to run windows 7 inside the Lion OS 10. of my macbook pro. I understand some products like Parallels are helpful, but I want to know which is the most reliable and easy to use product that would seamlessely work between Mac and Windows. Thank you for your answer and help.

    VMFusion I know has Unity, which will hide Windows itself and only show windows of Windows programs in OS X so it appears as seemless as possible.
    Windows in BootCamp or Virtual Machine?

  • How do I fix my mac book Pro  from running slow?

    How do I fix my mac book Pro  from running slow?

    Why is my computer slow?
    Step by Step to fix your Mac

  • Running Mac 10.4.11, now I updated to Firefox 4 and it will no longer open, stating that it will not run on my mac. How do I get back to what I had?

    My firefox was running fine until I was prompted to upgrade to Firefox 4. I did so and now when I try to open, I get a message window saying I cannot run firefox on the mac I'm now running (10.4.11). How to I get back to the version of firefox I was running?

    Firefox 4 requires at least OS X 10.5 and an Intel Mac.
    * http://www.mozilla.com/firefox/4.0/system-requirements/
    For an unofficial Firefox 4 compatible version (TenFourFox) that runs on PowerPC Macs with OS X 10.4.11 or OS X 10.5.8 you can look at:
    * http://www.floodgap.com/software/tenfourfox/
    Firefox 3.6.x (Mac OS X 10.4 and later) can be found here:
    * http://www.mozilla.com/en-US/firefox/all-older.html
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    * http://kb.mozillazine.org/Lost_bookmarks

  • How to run start.sh file of Tomcat4.0.1 on Mac os 8.6

    Hi there,
    Iam new to Mac operating system and iam trying to work on Mac os 8.6.I am trying to install Tomcat on Mac os 8.6.For that I download jakarta-tomcat-4.0.1.tar from appache site.I also extract it in my desktopfolder directly.For running start.sh file I prepare my own Tomcat_Start.sh like that:-
    (#!/bin/sh
    export CATALINA_HOME=/sun/desktopfolder/jakarta-tomcat-4.0.1
    export JAVA_HOME=/sun/desktopfolder/MRJSDK 2.2/Tools/JDK Tools)
    In Mac os 8.6 I installed MRJ2.2.4(based on jdk1.1.8) and MRJ SDK 2.2 for Java runtime enviornment.I tried with one java file and it is working perfectly that means JVM working perfectly.But I don't know how I run this Tomcat_Start.sh file on Mac.I already worked with Tomact on Windows operating system.In windows I excecute start.bat file on Dos-prompt.Can any one tell how and where I can execute my Tomcat_Strat.sh file on Mac os 8.6.And which version of Tomact support MRJ2.2.4 which is based on jdk1.1.8. It is required for my one application to install Tomcat on Mac.Presently Iam working On WinNT4.0.Any Help will be highly appreciated.
    Thanks for ur Valuable Time
    Bikash

    Iam new to Mac operating system and iam trying to work
    on Mac os 8.6.I am trying to install Tomcat on Mac os
    8.6.For that I download jakarta-tomcat-4.0.1.tar from
    appache site.I also extract it in my desktopfolder
    directly.For running start.sh file I prepare my own
    Tomcat_Start.sh like that:-.sh files are usually Shell scripts for UNIX shells. I don't think Mac OS 8.6 has a shell interpreter (could be wrong. :/) so getting it to work is going to be difficult, if not impossible.
    If you have Mac OS X, however, I believe it could work on there. Not sure of exact details though.
    Bhav

  • How to run .exe files with Virtual PC for Mac

    Hey Guys, I'm new around here and with mac technology as well. Anyway, I have an iMac OS X 10.5.1 Leopard and I've recently purchased the Virtual PC for Mac 7.0.2 software. So I'd like to know how to use this program properly, because I need to run some executable files in my computer. It is confusing for me because I don't know how to get started, and I only get to the part when it says "OS not found, Install an OS on this hard drive".
    Honestly I've no idea of what an OS is or where do I get that. So I'd really appreciate if one of you guys could tell me, step by step, what to do to use Virtual PC properly, and finally learn how to run .exe files on mac.
    Thanks in advance!
    Have a nice day!

    Always nice to see new faces
    Honestly I've no idea of what an OS is or where do I get that.
    This brings up the second part of your problem. The first part is setting up either a proper Virtual Machine program like Parallels or VMfusion, or setting up a Boot Camp partition on your drive.
    http://www.parallels.com/
    http://www.vmware.com/products/fusion/
    OS stands for Operating System. You are running Leopard 10.5.7 as an operating system on your Mac (MacOS X).
    The second part of your problem - You will need a copy of Windows XP or Vista if you want to run Windows on your Mac.
    There is at least one other solution for running Windows programs on a Mac. It's called "CrossOver" by a company named 'Codeweavers'. It's based on a project for "Wine" to be able to run PC programs on a Mac or Linux, without having to buy or install Windows. It works with a narrow subset of Windows programs so you would want to make sure the program you want to run is compatible with CrossOver before you buy it.
    http://www.codeweavers.com/products/cxmac/
    In addition to all the above information, you need to upgrade your Mac to the latest 10.5.7 from 10.5.1. "Software Update" is located under the black Apple icon in the Menu Bar at the top left corner of your monitor. After you are updated you will want to update your Profile here so that it shows the proper OS version.
    With your level of experience with MacOS X and the Windows OS's you should probably get some help from a local Apple store. They have an appointment system and do offer many types of help and training, and they can offer assistance with choosing the proper programs for you to purchase for your machine.
    You are also welcome to continue to ask questions here, of course. You will want to ask your questions with different issues that come up in different threads so that the answers stay focused on the title of the thread.
    Message was edited by: dechamp to try to be more accurate with a fairly complicated issue...

  • How to run JavaFX Jar with JRE 7 on MAC OS Lion 10.7.5 ?

    I had java 1.6 installed on my MAC OSX Lion 10.7.5. When I am trying to run that JavaFX application jar
    java -jar application.jar
    It always shows a dialog "The application require a newer version of Java Run-time" with download link. Even I have downloaded and successfully installed it on my MAC machine but it still shows me the same window.
    It installed jre-7u10-macosx-x64.dmg but java -version is always point to 1.6.
    Then I searched for Java Preferences to point the current JRE 1.7 but I could find Java Preferences at Applications -> Utilities -> Java -> Java Preferences.
    I found an Java Icon on System Preference. When I am trying to open that widow it's showing me error -- the java control panel opens in a separate window and nothing happens when we click on Re-open the Java Control Panel.
    http://avats.s3.amazonaws.com/JavaRunningError.txt
    I would like to know -- how to run JavaFX jar with JRE7 on MAC OS Loin 10.7.5? Is their any other way to run the JavaFX application JAR with JRE7?

    To find a copy of LP7 you would need to look for a copy on eBay.. However, the protection method used with LP7 no longer functions so you cannot register it and therefore you cannot use it. unless you have already registered LP7 yourself in the past using the security key dongle provided
    Any version of LP7 from a torrent would be an illegal (and most likely non working) version due to the protection that was used at that time... and so posting about it here, was not be wise.
    So.. thats why my previous answer was so brief... Simply put, you cannot use LP7 unless you already have a validated and registered security dongle... even if you found a copy of LP7 somewhere
    The only practical solution is to find some kind soul who already has a working version of LP7 installed, that you can send the projects to... for them to do the conversion for you.
    I would, but I no longer have LP7 installed here on any of my testbed Macs...

  • How to run JavaFX jar with JRE7 on MAC OS Lion 10.7.5 ?

    I have created a bundled JavaFX application jar with ANT on Windows 8 O.S. , 64 bit machine. I have JavaFx2.0 and Java 1.7.0_09 installed on my Window O.S.
    <target name="CreatingJars" depends="Compiling" description="generate the distribution" >
                        <taskdef resource="com/sun/javafx/tools/ant/antlib.xml"     
                                 uri="javafx:com.sun.javafx.tools.ant" classpath="${env.JAVA_HOME}/lib/ant-javafx.jar"/>
                              <mkdir dir="${WorkingFolder}/temp/libs"/>
                             <copy todir="${WorkingFolder}/temp/libs">
                             <fileset file="${WorkingFolder}/CustomJars/ProjectLib.jar">
                             </fileset>
                             </copy>
                             <copy todir="${WorkingFolder}/temp/libs">
                             <fileset dir="${WorkingFolder}/libs">
                             </fileset>
                        </copy>
                        <fx:jar destfile="${WorkingFolder}/${app.name}.jar">
                        <fx:application mainClass="${main.class}"/>
                        <fx:resources>
                             <fx:fileset dir="${WorkingFolder}/temp/"/>
                        </fx:resources>
                        <fileset dir="${WorkingFolder}/build"/>
                        <fileset dir="${WorkingFolder}/resources"/>
                        </fx:jar>
         </target> When I am trying to run that JavaFX application jar on MAC OS Lion 10.7.5 using
    java -jar application.jar
    It always shows a dialog "The application require a newer version of Java Run-time" with download link. Even I have downloaded and successfully installed it on my MAC machine but it still shows me the same window.
    java -version is always point to 1.6.
    Then I searched for Java Preferences to point the current JRE 1.7 but I could find Java Preferences at Applications -> Utilities -> Java -> Java Preferences.
    I would like to know -- how to run JavaFX jar with JRE7 on MAC OS Lion 10.7.5? Is their any other way to run the JavaFX application JAR with JRE7?

    Do I need to download the whole JAVA 1.7 on MAC to run the JAR? No
    Can not I run the Jar file with Jre7?Yes, you can.
    This may be because I have downloaded the JRE 1.7Yep, that's correct, the java_home command only works for jdk's - sorry for the confusion.
    For jre7+ versions, only a single Oracle jre version is allowed to be installed on the machine at a time - making a tool like java_home redundant for jre checking.
    Weirdly, jre7u10 does not supplant the Apple Java on the command line path by default. If you just type java -v, then the Apple java version will displayed if you have an old Java 6 from Apple and a new Oracle jre7+.
    The Oracle jre is always located under (also somewhat strangely):
    /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/javaTo test jar launching, I used the willow JavaFX browser pre-release jar available here:
    http://code.google.com/p/willow-browser/downloads/detail?name=Willow-0.1-prerelease.jar
    Then I launched the jar from the command line using:
    /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -jar Willow-0.1-prerelease.jar The JavaFX jar ran fine on jre7 with the above machine.
    The test machine was running Mac OS X 8 with Oracle jre7u10 installed as well as the Apple Java 6 runtime, but no Oracle jdk7+ installed.

Maybe you are looking for

  • Open hyperlinks in new window/tab/pop-up ?

    Now that my hyperlinks are working again.... I have a section with "directions" to lots of locations, each location has a google map link and a link to a pdf , when the user clicks on a link for a PDF or google map etc, it comes up fine but when you

  • Error while changing the sales order

    hi, Thanks in advance.i am trying to change already created sales order in va02.system is throwing an err "the sales document cannot be blocked".my purpose is to create a delivery with reference to this sales  order..when i try to create delivery wit

  • How do I track my stolen ipod touch 4generation

    I need help tracking my ipod touch

  • Fit filter length to match layer length?

    Hi, If I drop new filter from Library it's length will match to layer length, but if I duplicate filter from another layer and want it to match another layer length, is there some trick to do that? Thanks!

  • CS6 patch tool across layers

    Couldn't find any reference to this elsewhere in the forums. Since getting CS6 I have been puzzled to find that the patch tool in CS6 seemed not to  work across layers whilst doing photo retouching. So I reverted to the other tools to get some work d