How can i run and compile java programs in 10.6.8 mac osx??

waiting fr replies//

If you upgrade to Lion it comes bundeled with it!
To get it on your Mac Pro just copy the aplication from the aplication folder on your MacBook.  You can do this via a thumb drive or over a local network connection.

Similar Messages

  • Help--How can I open only one java program at one time?

    How can I open only one java program(same program) in Windows at one time?

    In Java 1.5, you can use the JVM's own monitoring APIs to examine what other JVMs are running on the system, and what applications they're running.
    It's general and powerful, but complex. The socket/file/whatever approach is cleaner, and probably more suited to your usage.
    Don't bother trying to use the Windows task manager for this sort of thing. You have to write messy native code, and it isn't reliable after all that anyway.

  • How can we run and control live images form a camera plz help

    hi
    i want to now how can we run and control live images form a camera on to a aaplet.what technologyi used for this project . u can check the url http://www.jal.co.jp/en/live/ as a demo.plz can anyone guide me.how to start and which technologies to use,
    regards
    sheetal

    Hi,
    You can try a package named: JTwain, which is available at http://asprise.com/product/jtwain.
    JTwain supports all kinds of digital cameras and scanners. You can use Java to access, contorl digital cameras and scanners, and of course, to acquire images with flexible settings.
    The developers' guide is available @ http://asprise.com/product/jtwain/devGuide.php
    In the simplest case, one line of Java code can solve your problem.
    Good luck!

  • How can I get a version of Pages that is compatible with Mac OSX 10.6.8?

    How can I get a version of Pages that is compatible with Mac OSX 10.6.8?

    Buy an iWork retail package from a source such as Amazon or eBay.
    (88544)

  • I can not run or compile java programme

    I am first time java programmer I can not run or compile any java programme.
    (can not read
    1 error) this is the the message that I am getting from my dos

    http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html
    Try the tutorial.
    It sounds like your error message comes from compiling. For example, "javac mysourcecode.java" If that is correct, the most common trouble comes from using a program like Notepad on Windows to create the soruce code. The tutorial will walk your through it.

  • How can i run a windows based program on mac book pro

    Can I run a windows based program on mac book pro mountain lion 10.8.4

    You can use bootcamp to install windows natively on the hard drive.  You then choose which OS you wish to use at startup - OS X or Windows.
    You can also install Windows in a virtual machine - Parallels or VMWare Fusion - and run it simultaneously with OS X (a virtual machine is just a PC emulated in software, and you install and run windows in the emulated machine hardware).

  • How can i access and assign java xml Document variable in javascript block

    How can i access and assign org.w3c.dom.Document variable in javascript block
    I tried this xmlDoc = "<%=xmldoc%>";
    it is not working
    plz give me solution.
    thanx
    Vidya

    The solution would only work on MS IE browsers, as other browsers do not support an XML DOM.
    It can be done, but you would be stuck with using the Microsoft broswer. If that is acceptable, I have some example code, and a book recommendation.

  • On the mac mini 2011 how can I run windows 7 without the optical drive, On the mac mini 2011 how can I run windows 7 without the optical drive

    On the mac mini 2011 how can I run windows 7pm bootcamp without an optical drive.  I watch lots of football on sop cast and other such windows based programmes but can't work out how to do it.

    Actually Windows can be installed and booted from an external drive if the drive is connected eSATA (external SATA), since the drive is treated as if it's an internal HDD. I used the same method previously to dual-boot from 2 different HDD instead of partitioning.
    Most PC motherboards come with them as standard so it's pretty much plug and play but I don't recall seeing a recent Mac with eSATA connectivity though, so that might not be an option for you.

  • How can i download and install snow leopard 10.6 on my mac?

    how can i download and install snow leopard 10.6?

    If you need to purchase Snow Leopard contact Customer Service: Contacting Apple for support and service. The price is $29.00 plus tax. You will receive physical media - DVD - by mail.
    Third-party sources for Snow Leopard are:
    Snow Leopard from Amazon.com
    Snow Leopard from eBay
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store.
    Snow Leopard General requirements
    Mac computer with an Intel processor
    1GB of memory
    5GB of available disk space
    DVD drive for installation
    Some features require a compatible Internet service provider; fees may apply.
    Some features require Apple’s MobileMe service; fees and terms apply.

  • Exception when running a compiled java program in DOS

    I'm new to programming in general and java in specific. I am using the jGrasp programming software, and successfully compile my program, but when I try to run it out of DOS (which I undesrtand is the purpose of java to begin with, unless I'm mistaken), I get an exception that looks exactly like this.....
    Exception in thread "main" java.lang.NoClassDefFoundError: keyboard/java
    Caused by: java.lang.ClassNotFoundException: keyboard.java
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    I realize I may just be missing something simple, as I've not been in the class for very long, but the book doesn't seem to have the answer. It is "Starting out with Java: Early Objects, Third Edition, by Tony Gaddis. Any help will be apprecieated. The program is below, it's really short.
    The program is a simple one to teach myself scanner input and an 'if' statement:
    *     basic input program
    import java.util.Scanner;
    public class keyboard
         public static void main(String[] args)
              String Class;
              int age;
              String race;
              char sex;
              String gender;
              Scanner keyboard = new Scanner(System.in);
              System.out.print("What class do you wish to be? ");
              Class = keyboard.nextLine();
              System.out.print("How old is your character? ");
              age = keyboard.nextInt();
              keyboard.nextLine();
              System.out.print("What sex is your character? M/F? ");
              gender = keyboard.nextLine();
              sex = gender.charAt(0);
              System.out.print("What race is your character? ");
              race = keyboard.nextLine();
              if (sex == 'M')
                   System.out.println("Today you will be playing a " + race + " " + Class +
                                                           " who is " + age + " years old at the start " +
                                                           "of his adventuring career!");
              if (sex == 'F')
                   System.out.println("Today you will be playing a " + race + " " + Class +
                                                           " who is " + age + " years old at the start " +
                                                           "of her adventuring career!");                                   
    }

    Childofheinlein wrote:
    I'm new to programming in general and java in specific. I am using the jGrasp programming software, and successfully compile my program, but when I try to run it out of DOS (which I undesrtand is the purpose of java to begin with, unless I'm mistaken), I get an exception that looks exactly like this.....
    So summerizing some of what was said before and some of that wasn't.
    jGrasp is a simplistic IDE. When you pop a dos window from it it sets up the windows correctly to run your program. When you open a regular command window you must do the same yourself.
    >
    Exception in thread "main" java.lang.NoClassDefFoundError: keyboard/javaJava runs "classes". The command that you typed above meant that you were trying to run a "file". Specifically the file "keyboard.java". The two are not the same. There is however a relationship. When the source code, in this case inside of "keyboard.java" is compiled it produces a file called "keyboard.class". Insided of the file there is a "class" called "keyboard". Notice that the name of the class does not have either .java nor .class on the end of it.
    The VM (the 'java' command) finds a "class" using the class path to search files of various types for the class (again keep in mind that files contain classes but they are not themselves classes.)
    You can add to the classpath using the Sun VM using either command line options or environment variables. As noted in some of the previous messages those are "-cp" and "CLASSPATH". It is important to note that that does NOT fully specify the class path. But for your purposes it is sufficient to think of it as doing so.
    The 'default' setting for the part of the class path that you normally set (like via '-cp') is the current directory which is specified by the ".". So normally the following are equivalent.
    java -cp . keyboard
    java keyboard
    The reason the VM could not find your class when you opened the dos window yourself is because you were in the wrong directory. If you had been in the directory with the file "keyboard.class" then it would have worked (if you have not messed with the environment variable "CLASSPATH".)
    So if your class file has the following location: c:\myapps\java\keyboard.class then you can do the following.
    1. Open a console window
    2. Type "cd c:\myapps\java"
    3. Type "java keyboard"
    If the above does not work then you are in the wrong directory or the env variable CLASSPATH has been set to something.

  • How can I run a Module pool program in Background

    Hi all,
           I have created report program and called a dialog screen e.g call screen 0100.
    this screen contains only one table control and a tabstrip control which allows user to select diffrent options.there is a push button on the application tool bar named as Background. once u click , the report has to run in background.
    if its a selection screen , i can easily create a variant n can run it in background.but here its a dialog screen, i m unable to create a variant for it. can anybody tell me how can i saves the user input values and run in background ..plz help me ....
    Bishnu Dash

    Hi ..
    Create a Transaction code for this Program.
    Then implement the BDC Code to Process the SCreens with the Required input Values.
    Schedule this BDC Session in Backgound using RSBDCSUB.
    reward if Helpful.

  • How can I trasfer file using java program (from NT to Unix)

    Hi all,
    I want to transfer a text file from Windows NT to Unix machine inside the Java program.
    How should i do it.
    Thanks in advance.
    Regards
    Rajeev

    you have several options:
    - make your system administrator software install software on Unix and NT so that you can see a directory on the Unix machine from your NT machine, and just copy the file there
    - use FTP to put the file on the Unix machine
    Jesper

  • How can I view and upload videos to shared photos streams on mac

    I use shared photo streams alot how can I view videos uploaded to a shared photo stream on my mac

    You can not at this time - tha tis only an IOS 7 and PC feature today - mayber with future software releases
    http://support.apple.com/kb/TS4379?viewlocale=en_US&locale=en_US
    What software versions do I need to be able view and share videos, and contribute to other people's shared streams?
    iPhone, iPad, or iPod touch with iOS 7.0 or later
    PC with Windows 7 or later and the iCloud Control Panel 3.0 or later
    AppleTV (second generation) with Apple TV Software Update 6.0 or later
    If the owner of the shared stream has turned on the Public Website option and shares the link with you, you will be able to view videos and see photos and video added by all contributors from any up-to-date browser.
    LN

  • How can I use airplay with Macbook Pro 9,2 Mid 2012/ Mac OSX Lion 10.7.5

    What do I need to do to play Airplay on Apple TV from my computer.  The option is not in my display setting, so, obviously, I do not have the capability.  Do i need to upgrade my software?

    You can't.
    About AirPlay and Airplay Mirroring
    AirPlay Mirroring requires a second-generation Apple TV or later, and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer). For non-qualifying Macs you can try using Air Parrot.
    Several Apple Articles Regarding AirPlay
    Apple TV (2nd and 3rd gen)- How to use AirPlay Mirroring
    How to set up and configure AirPort Express for AirPlay and iTunes
    iTunes- Troubleshooting AirPlay and AirPlay Mirroring
    iTunes- Using AirPlay
    Apple TV (2nd and 3rd gen)- Understanding AirPlay settings
    About AirPlay Mirroring in OS X Mountain Lion
    iTunes 10- About playing music with AirPlay
    Troubleshooting AirPlay and AirPlay Mirroring
    Using AirPlay
    Thanks to the $15 Beamer, AirPlay streaming is still possible on Macs  that do not support Airplay and mirroring.
    Other solutions are the Air Parrot, StreamToMe, and AirServer.

  • How can I download a driver for a Brother printer HL2270DW for Mac OSX 10.9.1?

    I recently purchased a Brother printer HL2270DW and am running Mac OSX 10.9.1.  The brother website has a download available, but in the process of adding the printer I get the error message that "Can't install the software because it is not currently available from the Software Update server."  Any ideas?

    Just found a solution which involves resetting the printer settings:
    To Reset the Printer Setting:
    1) Open "System Preferences"
    2) Select the "Print & Scan" pane
    3) Right click (or control click) anywhere in the "Printers" window (in the white space below any of your existing printers)
    4) Select "Reset Printing System..."
    That will reset the printing settings, and should happen immediately. You'll know if it worked because any existing printers you had previously set up will disappear from your printers list. Once the system has been reset, click on the "Add printer" button and add the printer that you're trying to add.
    As any other printers you had previously added are deleted you'll have to add them again.
    Hope that helps

Maybe you are looking for