Can you please tell mejdk 1.6 has new method getHardwareAddress()

can you please tell mejdk 1.6 has new method getHardwareAddress() i write this code in jdeveloper 10.1.3 and occure an error ( this method not found in NetworkInterface ) and jdeveloper highlight it with redline. i just uninstall jdk1.5 and then install jdk1.6u2 then still this error .
pleaze help me what can i do .
try {       
InetAddress address = InetAddress.getLocalHost();
NetworkInterface ni = NetworkInterface.getByInetAddress(address);
byte[] mac = ni.getHardwareAddress();
for (int i = 0; i < mac.length; i++) {             
System.out.format("%02X%s", mac, (i < mac.length - 1) ? "-" : "");
System.out.print("GetDisplayName ="+ni.getDisplayName());
System.out.print("Ni.toString ="+ni.toString());
System.out.print("Network interfaces ="+address.getHostName());
} catch (UnknownHostException e) {        
e.printStackTrace();
} catch (SocketException e) {        
e.printStackTrace();

Hello Sir
actually i am new to java.
currently i am using jdeveloper 10.1.3 and jboss in window. i want to get the macAddress through java api NetworkInterface it has getHardwareAddress method in jdk 1.6 but it does not work in jdeveloper pleaze tell me the solution what can i do it is working fine.
try {       
InetAddress address = InetAddress.getLocalHost();
NetworkInterface ni = NetworkInterface.getByInetAddress(address);
// here is error jedeveloper underline with redline getHardwareAddress()
byte[] mac = ni.getHardwareAddress();
for (int i = 0; i < mac.length; i++) {             
System.out.format("%02X%s", mac, (i < mac.length - 1) ? "-" : "");
System.out.print("GetDisplayName ="+ni.getDisplayName());
System.out.print("Ni.toString ="+ni.toString());
System.out.print("Network interfaces ="+address.getHostName());
} catch (UnknownHostException e) {        
e.printStackTrace();
} catch (SocketException e) {        
e.printStackTrace();

Similar Messages

  • HT201317 MY PHOTO APP HAS DISAPPEARED OFF MY PHONE, CAN YOU PLEASE TELL ME HOW TO GET IT BACK.

    Can you please tell me why my PHOTO App has dissappeared from my iphone 5 and how to get it back

    The built in Apps such as "Photos" can not be deleted. Check all available screens and within existing folders.

  • HT1390 Hi, I rented 4 movies last night which I have been charged for however seem to have disappeared from my iTunes. I have not watched any of them or opened them. Can you please tell me whats happened?

    Hi, I rented 4 movies last night which I have been charged for however seem to have disappeared from my iTunes. I have not watched any of them or opened them. Can you please tell me whats happened?

    While we all have MacBooks in this forum most of us don’t have Lion. There's a Lion Support Community where everybody has Lion.You should also post this question there.  https://discussions.apple.com/community/mac_os/mac_os_x_v10.7_lion

  • Everytime I try to update my iPhone this happens: The iPhone cannot be updated because the iPhone software update server could not be contacted or is teporarily unavailable. Please try again later. Can you please tell me how to fix this? Thanks in advance

    Everytime I try to update my iPhone this happens: The iPhone cannot be updated because the iPhone software update server could not be contacted or is teporarily unavailable.
    Please try again later.
    Can you please tell me how to fix this? Thanks in advance.

    We're Sorry, Activation Server Temporarily Unavailable, contact Customer Care...Your request Could Not Be Completed?"
    99.9% of the time, the cause of this issue is the fact the phone was jailbroken/hacked to unlock it for use on networks other than the network the phone was originally locked to. Apple maintains a database of officially unlocked iPhones, and when Apple's servers detect phones such as yours, activation stops & you get the message you got.
    So, you need to get a sim card from the carrier the phone was originally locked to, or get it officially unlocked, if you want to activate it. Because it appears that it was not officially unlocked.
    Apple has started to get "tough" with hacked iPhones, & simply won't permit their activation.

  • HT4759 I now have my daughters iPad can you please tell me why I can't set up iCloud.in settings the iCloud is greyed out also how do I change her mail account to mine?

    I now have my daughters iPad can you please tell me why I can't set up iCloud.in settings the iCloud is greyed out also how do I change her mail account to mine?

    To change your iCloud ID or password you have to go to Settings>iCloud, tap Delete Account, then sign back in with your other ID.  If you need to migrate any of your daughter's iCloud data to your account, choose Keep on My iPad when prompted, then choose Merge to upload it to the new account.  If not, choose Delete from My iPad.

  • I have downloaded Photoshop Elements and all went well.  When I went to open, it opens fine but is unreadable.  I have a Mac and my flash player is up to date.  Can you please tell me what I am missing?

    I have downloaded Photoshop Elements and all went well.  When I went to open, it opens but the content is unreadable.  I have a Mac and my flash player is up to date.  Can you please tell me what I am missing?
    Thanks,
    Nikki

    I did try to uninstall and reinstall.  It messed up my computer.  I had to "RESTORE" from the prior days backup.  This was not helpful at all.  I'm used to losing all my stuff when I connect to iTunes, that's a whole other issue, but now I'm completely banned from any updates to my phone at all.  Geeze.......

  • Can you please tell the difference between FSCM 8.8 and 9.0

    Hi,
    Can you please tell me the difference b/n PeopleSoft FSCM 8.8 and 9.0.
    What are major changes took place in application from 8.8 to 9.0 and also in tools 8.46 and 8.49.
    Thanks

    Well There is lots of Stuff but hey I will take a crack at it
    First off you will have to go to PeopleTool 8.49 : you get new stuff for IB, XML publisher, Archive Mangers, and too much to cover here....Financials adds:
    Credit Card Encryption
    Workflow Enhancements
    Expenses:
    Save and Hold functionality
    enable approvers to add transaction lines during the approval process.
    Compare Totals
    Payabales
    Financial Santion Validations
    Digital Sig on Electronic Invoices
    Tons of Voucher enhancements : sales Use Tax, ssesion defualts, related documents page
    Streamlined withholding process
    Payment Processing Enhancements: mass payment cancellations
    AM
    Fair Market Value tracking
    Depr. Write-off Reval. Method
    Multiple Deprecation Enchnacements:
    General Assets;
    Operational attributes and creation of non-financial assets
    Asset component hierarchy enhancements
    Configurable attributes for asset definition
    Other enhancements to the asset repository
    General Ledger
    Enhanced spreadsheet import.
    Enhanced combination editing.
    Enhanced audits of VAT report amounts.
    XML Publisher for ChartField reporting

  • Can you please tell me how can i change the parameter of Applet using Aspec

    Respect Members
    Can we apply Aspectwerkz on Applet? In our project we have to
    change the method parameters before its execution(Around Advice) , can we do this in applet using Aspectwerkz?
    Can you please tell me how can i change the parameter of Applet using Aspectwerkz or AspectJ ?
    I did it by for Java Application using the AspectJ And Aspectwerkz But not able to do for Applet.
    For Applet I Am setting the parameter in JAVA plug in for Aspectwerkz e.g. -Xdebug -Xrunaspectwerkz -Xbootclasspath & path for xml file in which pointcut is defined.
    If you any Friend working on it or any author who might be helpfull for me please Forward this mail to him/her
    THANKs in Advance
    [email protected]

    hello rodale, what you're seeing is probably a side effect of firefox not being able to save certain preferences into its profile folder.
    go to ''firefox > help > troubleshooting information'', click on ''profile folder/show folder'' and close all firefox windows afterwards. a windows explorer window should open up - in there delete the file named '''user.js'''.
    in case this didn't solve the issue yet please also refer to [[How to fix preferences that won't save]].

  • I have an 2007 mac book pro that does not have a place for HDMI cable.  Can you please tell which converter I need?

    I have an 2007 mac book pro that does not have a place for HDMI cable.  Can you please tell which converter I need?

    You will need something such as this:
    http://www.amazon.com/A-Sonic-HDMI-HD15-Male-Cable/dp/B001OLCHJ6
    Ciao.
    Note that this will only transmit video.  If you need sound, the audio output port will have to be tapped.
    Message was edited by: OGELTHORPE

  • Can you please tell us why our API fails

    Can you please tell us why our API fails when we use this timezone of Slovakia?
    API Name: jtf_tasks_pub.create_task
    This standard oracle API fails with the error : TIMEZONE FOR 483 IS EITHER DISABLED OR INVALID
    But we do have the Timezone record number 483 in Oracle.
    If we run this query, we see UPGRADE_TZ_ID 483 assigned to Europe/Bratislava
    select * from apps.fnd_timezones_vl
    where UPGRADE_TZ_ID=483
    Please let us know why it fails.

    I'd suggest you log a SR for this issue.
    Thanks,
    Hussein

  • Can you Please Tell Me the Process for service/operation  provide by one plant to other plant.

    Can you Please Tell Me the Process for service/operation  provide by one plant to other plant.
    In My Company No Of Plants Like 1000,2000,3000,4000
    Plant 1000 Provide the service/operation  like (welding ,cutting, painting ) to other plants (eg 2000,3000,4000)
    We want to give the profit for plant 1000 and book the service or operation charge in plant 2000 or 3000.
    We don’t want  to use material code in this process.
    Can you help me it is possible or not through SAP PP.

    Krishnendu,
                   Actually in my company we have one plant 1000 that plant provide the service like (CUTTING (SHAFT),WELDING,MACHINING,PAINTING)
    actually plant already made one material xyz and supply 2000 plant .
    we  can use STO in this scenario and set special procurement key  80.
    But my requirement is after some time plant 1000 provide few operation in xyz material that material already supply to 2000 plant.
    in this case we dont  use to produce any material.

  • Can you please tell me how to find top 10 wait events

    Hi
    Can you please tell me how to find top 10 wait events and what actions need to be taken when there is a wait?
    Thanks
    Regards,
    RJ.

    hi,
    suggest you to use statspack !!!!!!! for the all tuning..else use the views
    * v$session_event
    * v$session_wait
    * v$system_event
    go through this for tuning tips
    http://www.dba-oracle.com/art_dbazine_waits.htm
    Thanks
    --Raman                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • I added Panorama Group Tabs and I don't like the way it works. I want to remove it but can't find or figure out a way to. Can you please tell me how it can be removed permanently? Thanks!

    I added Panorama Group Tabs and I don't like the way it works. I want to remove it but can't find or figure out a way to. Can you please tell me how it can be removed permanently? Thanks!

    That link doesn't tell you how to remove the Panoroma Tab Groups!! My main issue with it is that along my tabs at the top I no longer have the tab to open a new tab. Instead I have to click on the tab groups and then open them and click on an open area in the tab to get a new tab opened!! Is there a way to add that? I don't see that when I go to customize the tool bar as there's no icon to add it, just one to open a new window, which I don't want to do!! Thanks!!

  • HT4718 Upgrade to OS X Mountain Lion and my computer keeps restarting! Can you please tell me what I need to do to fix it so I can use it.  The only way I can get in is by using Safe Mode :( Please help

    Help
    I upgrated my computer to OS X Mountain Lion last night and since then my computer keeps restarting over and over again.  The only way I can use it is by being in Safe Mode.  Can  you please tell me what I need to do so my computer works perfectly again.
    Thank you

    If you have more than one user account, you must be logged in as an administrator to carry out these instructions.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Select the most recent panic log under the heading System Diagnostic Reports on the left. If you don't see that heading, select  
    View ▹ Show Log List   from the menu bar. Post the entire contents of the panic report — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

  • I am not accessing flash programs on mozilla3.5 like youtube videos although I have the flash software 10 installed it can play on ie explorer and other websites can you please tell me the cause of that problem and how it can be retified?

    Also I am getting javascript error error on certain sites like ehow and facebook photo section can you please tell me the cause of that problem and how it can be retified?Finally I cant update ADobe reader to 10 at all its simply not downloading.Can you please tell me the cause of that too and how it can be retified so full flash services can be restored?

    Oh no... NOT THE 99-PAGER!!! Anything but THAT!!!

Maybe you are looking for