Using JNLP with Netbeans on Mac OSX

I am trying to get an idea on JNLP by running locally from folder before I start using it with web server. Therefore its a new-bie question. I have a jar file in "netbeansProjectFolder/dist" folder along with library folders. I created a jnlp file in netbeansProjectFolder. The file contains the following code:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="file://Users/myName/Desktop/netbeansProjectFolder">
<information>
<title>JNLP test</title>
<vendor>me</vendor>
<homepage href="www.web.com" />
<description>Demonstration of JNLP</description>
</information>
<offline-allowed/>
<security>
<j2ee-application-client-permissions/>
</security>
<resources>
<j2se version="1.2+" />
<jar href="file://dist/myJNLP.jar"/>
</resources>
<application-desc main-class="MyFrame"/>
</jnlp>
I am trying to run it locally but cannot find resources. I think there is no problem with location, is there any other issues I have to worry about? By the way, jar runs independently without any problem. Thanks in advance.

Note that the jar href should be a path
that is relative to the codebase.
I also noted that your JNLP element has
a codebase but no href for the JNLP itself.
I suggest
a) changing it along these lines
<?xml version="1.0" encoding="UTF-8"?>
<jnlp
  spec="1.0+"  
  codebase="file://"
  href="Users/myName/Desktop/netbeansProjectFolder/LAUNCHFILE.jnlp" >
<j2se version="1.2+" />
<!-- remove the codebase from the jar ref -->
<jar href="dist/myJNLP.jar"/>
</resources>
<application-desc main-class="MyFrame"/>
</jnlp>b) Validating the result aginst the DTD.
Message was edited by:
AndrewThompson64

Similar Messages

  • How to use gfortran with NetBeans on Mac?

    I'm using Mountain Lion. I use gfortran from the Terminal. But I want to use it from IDE like NetBeans. When I want to use it like I do on Ubuntu it shows me an error-
    "/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
    "/usr/bin/make"  -f nbproject/Makefile-Debug.mk dist/Debug/GNU-MacOSX/hello_1
    mkdir -p build/Debug/GNU-MacOSX
    gfortran   -c -g -o build/Debug/GNU-MacOSX/ab1.o ab1.F90
    gfortran: error trying to exec 'f951': execvp: No such file or directory
    make[2]: *** [build/Debug/GNU-MacOSX/ab1.o] Error 1
    make[1]: *** [.build-conf] Error 2
    make: *** [.build-impl] Error 2
    BUILD FAILED (exit value 2, total time: 134ms)
    How can i fix this problem. Is there any way to use fortran from a IDE like NetBeans??

    SOLUTION FOR ME (worth a try for yourself)
    I just solved this for myself by trying something "risky"
    I took all of the files from /usr/local/gfortran and placed the UNIQUE ones into the same respective directories under /Developer/usr/
    I did not copy over ANY duplicate files (thus preserving the original files in /Developer/usr/)
    For Example:
    The file gfortran was copied from it's location: usr/local/gfortran/bin/gfortran 
    into
    Developer/usr/bin
    and so on for the include, local, and share folders from /usr/local/gfortran/ to /Developer/usr/
    Leave a reply if you need a better explanation

  • HT3775 How can i play my avi formatted movies with the new mac OSX 10.9.2 update?

    How can i play my avi formatted movies with the new mac OSX 10.9.2 update?

    Try using VLC or installing both QuickTime 7 and Perian. Nothing will work with all AVIs; some of them require codecs not available for Mac OS X.
    (105507)

  • HT4587 I downloaded Airport Express Utility 5.6 to get my Airport Express to work with the latest Mac OSX 10.7.4, but when I install and run it, it still says my Airport Express is out-of-date and needs the 5.6 utility.

    I downloaded and installed Airport Express Utility 5.6 to get my old Airport Express to work with the latest Mac OSX 10.7.4, but when I install and run it, it still says my Airport Express is out-of-date and needs the 5.6 utility. What's up?

    It is likely that you downloaded AirPort Utility 5.6.1.  If you checked the requirements, this only runs on Leopard or Snow Leopard Macs.
    You have Lion, so you need AirPort Utility 5.6 for Mac OS X Lion

  • My iPhoto icon has a cross over it, when i open it, it You have "iPhoto" 9.2.1. you can't use this with this version of OSX? it used to work ?what's gone wrong?

    my iPhoto icon has a cross over it, when i open it, it You have “iPhoto” 9.2.1. you can't use this with this version of OSX? it used to work ?what's gone wrong?

    iPhoto 9.2.3 is incompatible with MacOS 10.9.3 Mavericks. If you are running Mavericks on your system you need to update iPhoto to 9.5.1. Only, the problem is, that this version is no longer available at the App Store.
    The easiest way to get a compatible iPhoto version in that case would be to upgrade to Yosemite, MacOS X 10.10, and then download the most recent iPhoto version from the AppStore, iiPhoto 9.6, like LarryHN suggested.
    If you cannot download iPhoto after upgrading to iPhoto 9.6 post back.

  • Is Creative Suite 6 compatible with the new Mac OSX Yosemite?

    Is Creative Suite 6 compatible with the new Mac OSX Yosemite (MAC OS 10.10)?
    incl.
    Photoshop
    InDesign
    Illustrator
    etc.
    Thanks
    Pumuckel

    Yes/No/perhaps. All depends on the specifics of the system and its configuration. most stuff should work, but of course there always could be compatibility issues.
    Mylenium

  • Cannot Use ichat with this version of OSX

    Please help!
    I installyed leopard and now when I try to use ichat I get the a message saying I can not use ichat with this version of OSX. What can I do to try to fix this?
    Thanks!

    Also Click and hold the icon in the DOCK and Use Show In Finder.
    When you get to the folder that the version of iChat the DOCK is linked click on the title of the Window to see the path to the Folder.
    An Archive and Install may include a Previous System part.
    You should see
    Applications
    Hard Drive (name)
    Computer (Name)
    NOT
    Applications
    Hard Drive
    Previous Systems
    Hard Drive
    Computer
    3:20 PM Saturday; December 29, 2007

  • IS IT POSSIBLE TO USE HIBERNATE WITH NETBEAN?

    Hi and Happy New year,
    Please, is it possible to use hibernate with netbean. If yes, where can I get the materials on the configuration.
    Thanks
    Emeka

    NetBeans is an IDE. Hibernate is a data access API/solution. So not sure what you're asking. If you want to know if NetBeans IDE has Hibernate integration, go look at NetBeans feature set and/or plugins. Either way, Google...

  • When dual-booting with Windows 7, Mac OSX time settings reset every reboot.

    I have recently installed Windows 7 Professional on my mid 2010 MacBook Pro via BootCamp (Running Mavericks BTW). Everything runs grean and have not experienced any problems on the Windows side, but I have a problem with Mac OSX now. When I am using Windows 7, and I reboot into Mac OSX, I find that my time settings are wrong. It seems like my time zone has changed, because the date is correct, as well as the minutes, but the hour is always wrong. When I go to Date & Time in System Preferences, and my time zone is correct, but I still have to chage the hour in the time. Any ideas as to why this is happening and how to stop it would be greatly appreciated.

    If you dual boot your Windows PC with OS X or Linux, you may have experienced a problem in which your clocks reset themselves incorrectly every time you boot into Windows. Here's a simple registry edit to fix that.
    Essentially, the incorrect clock setting happens because OS X and Linux use GMT time while Windows tries to synchronize with your local time zone, getting confused when you reboot between the two. Apple's own Boot Camp drivers for Windows are supposed to fix this problem, though some users have noticed that it still happens even with the drivers installed, and some Linux users are left out in the cold. Furthermore, if you have a Hackintosh, you can't install the Boot Camp drivers, so you'll need to find another way around the problem.
    To fix it, just hit Start and type regedit.exe in the search box. Hit Enter and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation. Right click anywhere in the right pane and hit New > DWORD (32-bit) Value. Name it RealTimeIsUniversal, then double click on it and give it a value of 1.
    Lastly, reboot into OS X, then reboot back into Windows. You should now notice that your clock actually displays the correct time.

  • Which Firefox version fits best with iMac G5 + Mac OSX 10.5.8?

    I made a mistake.
    I installed Safari 5.0.6 with loss of good functioning of the browser (lay out not any longer the same as with Safari 4) because my iMac G5 (with PPC) runs under Mac OSX 10.5.8. The computer refuses reinstallation of the older version (Safari 4).
    The temporary solution in my idea is using Firefox in the adapted version. Could you tell me which one?
    Thanks for help.

    Firefox 3.6.x is the last available from Mozilla for PPC Macs. <br />
    http://www.mozilla.com/en-US/firefox/all-older.html
    For older Macs that aren't supported in Firefox 4+ versions, try TenFourFox for PowerPC's running Mac 10.4.11 & 10.5.8 . <br />
    http://www.floodgap.com/software/tenfourfox/
    http://tenfourfox.blogspot.com/

  • Audio/midi interface compatibility with Logic Express Mac osx 10.6.5

    hi all, I'm looking for a compatible audio/midi interface to use with the latest mac os. I recently purchased a Ediroll UA25 but was unable to get it working . I installed the latest drivers from the Roland site but when plugged in it just wasn't being recognised. I sent it back and got a full refund but now I am insure if the Ediroll was faulty or if it wasn't compatible with os 10.6.5. I am now in the process of looking to purchase another interface but am looking for help from you guys.
    Thanks in advance,
    kiev

    Hi,
    just out of curiousity: did you use the UA-25 or the UA-25EX? I know the 25EX has a driver switch on it's back where you can enable a standard driver which should be compatible to OS X without an additional driver.
    However, i didn't find another interface including a compressor except for the Yamaha Audiogram 6, if you need this feature.
    If you don't need it, buy a MOTU, preferably with firewire, or a Presonus. If you want quality, maybe an Apogee Duet. I myself - due to shortage of funds - still use either my Tascam Fireone or my Alesis I/O 2. The Alesis sounds nice for it's price, but i won't buy any of these lower end interfaces anymore. You get what you pay for. I also used the Edirol UA-25EX for a time, but this was before snow leopard, so i can't really say "Yes or No", but it was definitely a very good interface compared to it's price. I won't recommend M-Audio, however, but others like it.
    Fox

  • Big issues with the new MAC OSx RDP client; crashes with Excel formattings or open Libre Office

    We found out, that the new version of the MAC OSx RDP client (Version 8.0.24255) has some big problems: example: formatting an Excel column: text
    blue: the RDP crashes (re-producible); opening libre office calc (with 3 RDP-sessions open): RDP crashes and is not able to be opened, until libre office is closed in another windows-rdp-session.

    Crashreporter:
    Process:         Microsoft Remote Desktop [56434]
    Path:            /Applications/Microsoft Remote Desktop.app/Contents/MacOS/Microsoft Remote Desktop
    Identifier:      com.microsoft.rdc.mac
    Version:         8.0.24308 (8.0.24308)
    App Item ID:     715768417
    App External ID: 224042646
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [331]
    Date/Time:       2014-04-10 16:21:58.896 +1000
    OS Version:      Mac OS X Server 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          11 sec
    Crashes Since Last Report:           1
    Per-App Interval Since Last Report:  7 sec
    Per-App Crashes Since Last Report:   1
    Anonymous UUID:                      1FCED11E-54A0-400D-8433-DE8DDFD05728
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0xfffffffffffffffc
    Crashed Thread:  8
    Thread 8 Crashed:
    0   com.microsoft.rdc.mac             0x0000000172f937dd void HLW::bltImpl::bltWordImplDR<unsigned int>(unsigned char, unsigned char const*, int, HLW::Point const&, unsigned char*, int,
    HLW::Rectangle const&, unsigned char const*, int, unsigned int, unsigned int, int, int, unsigned int) + 6365
    1   com.microsoft.rdc.mac             0x0000000172f99827 void HLW::bltImpl::bltWordImpl<unsigned int>(unsigned char, unsigned char const*, int, HLW::Point const&, unsigned char*, int,
    HLW::Rectangle const&, unsigned char const*, int, unsigned int, unsigned int, int, int, unsigned int) + 167
    2   com.microsoft.rdc.mac             0x0000000172f7a305 HLW::Blt::blt(unsigned char, unsigned char const*, int, HLW::Point const&, unsigned char*, int, HLW::Rectangle const&, unsigned
    char const*, unsigned int, unsigned int, unsigned int, int, int, unsigned int) + 2101
    3   com.microsoft.rdc.mac             0x0000000172f9c021 HLW::SoftwareRenderer::drawBlit(unsigned char, HLW::IBuffer*, HLW::Point const&, HLW::Rectangle const&, HLW::IBuffer*, HLW::Point
    const&) + 1345
    4   com.microsoft.rdc.mac             0x0000000172fc8cee HLW::Rdp::RenderManager::PatBltOrderImpl::threadedHandle() + 2060
    5   com.microsoft.rdc.mac             0x0000000172fc8f0d non-virtual thunk to HLW::Rdp::RenderManager::PatBltOrderImpl::threadedHandle() + 29
    6   com.microsoft.rdc.mac             0x0000000172fcd504 HLW::Rdp::RenderManager::OrderHandlingThread::run() + 114
    7   com.microsoft.rdc.mac             0x0000000172be6ead Gryps::Thread::threadFunc(void*) + 103
    8   libSystem.B.dylib                 0x00007fff876edfd6 _pthread_start + 331
    9   libSystem.B.dylib                 0x00007fff876ede89 thread_start + 13

  • Using magic Trackpad on older Mac osx Lion

    Considering buying Magic Trackpad to use with my Macbook 2.1 Running osx Lion with 4gb ram.  Does anyone have any experience of this combination and suggestions to if it would be a worthwhile addition. Naturally i do not have the ability to use multi gestures with my Macbook and wonder if it would extend the usable life of my setup.

    I do not have a 2,1.....I do have a 4,1 and a Magic Trackpad to take full advantage of Lion's gestures and it works excellent......I do not believe there would be any difference in using it with your MacBook.....

  • Issue with the recent MAC OSX 10.7.5 update

    The recent MAC OSX 10.7.5 update rendered my WD external backup disk unusable. The iMAC only recognizes it as read-only now despite having 2 TB of available space. It doesn't even show on my desktop anymore.  I have tried disk repair but it couldn't be repaired. Any suggestions?

    Copy these commands into TextEdit, replace the bracketed part with your username and the quoted parts with the ext HD's name, retaining the quotes.
    sudo chflags 0 /Volumes/"name of ext HD"
    sudo chmod a+rx /Volumes/"name of ext HD"
    sudo chown -R <your username w/o brackets>:admin /Volumes/"name of ext HD"
    Launch the Terminal app in /Applications/Utilities, copy and paste the first one into the window that pops up, and hit the return key. When the Password: prompt pops up, carefully type in your admin password, since nothing shows on the screen, and hit the return key. Copy & paste the other two, one at a time, following each with hitting the return key. You won't get the password prompt, since the initial one's good for five minutes.
    Quit the Terminal app and you should be able to read and write to the ext HD. This assumes there's no OS or Time Machine backup on the HD. If there is, don't run the third command.

  • Trying to use Wireless-G Router w/ Mac OSx (WRT54G2)

    Hi,
    I just got a Linksys Wireless-G Router, to use with my Apple MacBook laptop. I got the laptop new back in January '08, and the router is new as of today. The Model Number is: WRT54G2.
    I have a Windows desktop PC that I have been using at home, it has a cable modem connection through my cable company (external modem).
    When I tried putting in the installation CD for the router today into my Mac, it didn't show up (the CD did, but the programs wouldn't start). I came to the Linksys website, and saw that the Wireless-G Router's CD only works on Windows (I have Windows XP on this desktop I'm using right now for Internet.) But, of course, the laptop that I want to use the wireless connection with, is a Mac.
    I don't currently use the Internet on my Mac at home (only at places like the library with free WiFi access).... so I don't currently have my Mac plugged into any kind of modem whatsoever right now.
    The help wizard on the website is so confusing. I am just wondering....how on earth can I possibly get my Mac laptop using the Linksys Wireless-G router system?? Where do I plug the blue ethernet cable into, etc.? I can't use the Installation CD on my Mac, so it says manual installation is required, but I dont know what to do.
    I would reallly appreciate anyone's help! THANK YOU SO MUCH!
    Message Edited by ktx428 on 08-10-2008 12:09 PM
    Message Edited by ktx428 on 08-10-2008 12:11 PM

     Access the setup page of the router by launching an
    Browser and type on the address bar, 192.168.1.1 and press enter. When
    it prompts for the username and password, leave the username field
    empty and provide password as "admin" (Without quotes)
    click on ok.
    On the main setup page the ""Internet Connection Type"" should be
    on ""Obtain IP Automatically - DHCP “. Click on the Save Settings
    button.
    Now click on the sub tab ""MAC address clone"".
    - Click on enable
    Click Clone & click save settings
    Check WAN Ip on Status page of router ....
    If getting Valid Ip .... try going online
    If not ... power cycle for 4-5 minutes & then again check the WAN Ip address .....

Maybe you are looking for

  • How can I change the date format in Reminders and in Notes?

    How can I change the date format in both Notes and Reminders? Preference on Imac and Settings in IOS do not allow me to change the format in those 2 apps. I Like to see 10oct rather than 10/10, as an example.

  • "An Error Occurred During Import"

    I am importing video from a Canon Vixia HF10 HD CMOS camcorder into iMovie 08. After the thumbnails are created, I select the clips I want and click on Import. I tried in a a Large (960x540) and Full (1920x1080) format and receive the same error mess

  • Barracuda Reputation Problem

    Hi Has anyone come across problems with emails from a BT home broadband connection being bounced by Barracuda Reputation ? Am getting the error below when trying to email one particular recipient. Tried resetting the BT HomeHub to get a different dyn

  • Change logo in HTMLDB 1.6

    I tried to place my logo in my application on HTMLDB 1.6 and it only appeared in my page 1 through which I placed it but not in other pages as expected. Please, help

  • Toolbar disappears / template form 11i

    Aloha, Toolbar disappears when error message window appears. I have developed a form using template 11i. Any suggestions. CIAO, Rohit Singh eJiva India email: [email protected]