Can it be simpler and not work?

I'm trying to create a simple webservice using the sample code distributed with the JDKEE.
HelloIF.java
package hellosvc;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface HelloIF extends Remote {
    public String sayHello(String s) throws RemoteException;
HelloImpl.java
package hellosvc;
public class HelloImpl implements HelloIF {
    public String message = "Hello ";
    public String sayHello(String s) {
        return message + s;
}HelloIF.java compiles fine. HelloImpl.java does not:
D:\hellosvc>javac HelloImpl.java
HelloImpl.java:44: cannot resolve symbol
symbol : class HelloIF
location: class hellosvc.HelloImpl
public class HelloImpl implements HelloIF {
^
1 error
Both files are in the same directory. I'm using version 1.4.2. I am a java noob so I suspect I'm missing something basic. Thanks.

Classpath is set to current dir. Even "java
-classpath d:\hellosvc HelloImpl.java" doesn't work.
(same error)Of course that doesn't work. Set the classpath to "d:\" to see the package "hellosvc" if "hellosvc" is in "d:\hellosvc".

Similar Messages

  • Where can i exchange my not working iphone bought in Switzerland (on july 12, 2012.) that just turned off and not working since. In croatian store they don't want to give me replacement phone!!!!

    I have bought iphone 4s on July 12, 2012.in Zurich in offical Apple store (Glattzentrum) and after one and a half months it just turned off and not working since. I tried three charges and nothing (it detects that charger is on but it cannot be charged). So now I have a not working phone only two and something months after purchase. But the problem is that in Croatia we have two apple reseller stores and neither don't want to exchange it, although is under warranty!!!! The closest stores are 250 km from Zagreb...Of course I have contacted Apple store in Zurich but they told me to come in Switzerland or to send credit card data for receiving new iphone, the problem is I don't have credit card with 700 euro on it!!!! what to do?? who to call ??? where to get replacment device cause this is disaster???? I wanted to buy ipad but after all this I doubt to do so...I have not working Iphone payed around 700 chf or 800 usd and cannot change it in my country, is it possible for such vast organization like apple that this things can occur????? So much for customer support

    “the EU is considered one country for warranty purposes“
    Not the case at all whilst there are harmonized minimum standards governing guarantees, warrantees remain national as these vary (Add to) minimum legal protection.
    Some how you need to get your phone back to Switzerland.

  • I want to hand on my water damaged and not working iPhone are the notes that were on the handset accessible to anyone who can get the handset working again?

    I want to hand on my water damaged and not working iPhone are the notes that were on the handset accessible to anyone who can get the handset working again?

    It's possible, I suppose.   Unlikely, but possible.   Someone would have to be extremely driven to fix your broken phone specifically to look at your notes though.

  • Can't sync ical on my iphone and imac. email and note work but not ical.  can anyone help.

    can't sync ical on my iphone and imac. email and note work but not ical.  can anyone help.
    thanks
    bmoreimac

    So how can i make it work that way, i asked one of my friends, and she says it works like that...when she delete the email on her iphone it is deleted on the mac too, what do i do to change this?....my mail it's hotmail, i don't know if its relevant

  • Dears iTunes gives me the Payment method declined message   and i bought Gift card 25$ and not work because i am in kuwait store and can not change store to USA. i try Master and visa and gift card what i can try else also i can not update free applicati

    Dears
    iTunes gives me the Payment method declined message   and i bought Gift card 25$ and not work because i am in kuwait store and can not change store to USA. i try Master and visa and gift card what i can try else also i can not update free application. my iPhone now useless.
    please help me ASAPi have to buy some application urgently.

    Whether you are trying to use a Credit Card or Redeem a Gift Card... My understanding is that you have to be within the US to use the US Store and have a valid US Billing Address.

  • HT1937 My iphone 4s fell in salt water and not working. What can i do?

    My iphone 4s fell in salt water and not working. What can i do? My location is Russia. Is it possible to send my device to apple-USA for repair?

    No, you would have to send it to someone you know in the USA and have them take it to any AppleStore and do an out-of-warranty replacement for $199 USD. Apple will not accept a shipment from your and the warranty is not international.
    You can take it to a 3rd party repair shop and have them open it and clean it. But you need to do it quicly saltwater will very quickly damage the components without that phone.

  • HT201210 I can not restore my iPhone 4S itunes error says I have 29 and I put it in DFU mode and not working help please

    Hello

    I can not restore my iPhone 4S itunes error says I have 29 and I put it in DFU mode and not working help please

  • Flashing light in Wrotham supply. And not working wi-fi..

    Hello.
    Flashing light in Wrotham supply.  
    And not working wi-fi, or rather does not recognize the access point.
    They are not on the list .
    But the access point is at hand.
    Please send me the answer to email (Personal information removed by Moderator) 

    Hi @Game_Developer 
    Welcome to the HP Support Forums!
    I understand that you are having trouble with wifi connectivity. What light is flashing on that supply? I assume it is the power supply.
    Have you tried your notebook with a different wireless network?
    Do other devices connect to your router without any trouble?
    I would start with this to make sure the wireless is working properly on the notebook, or appears correctly in device manager.
    Resolving Universal WLAN, Wireless, and Wi-Fi Errors
    And only after verfying that all is good, would you want to look at the following steps, if you are still having troubles.
    Troubleshooting wireless network and Internet (Windows 8)
    Also, you can look at the power management for your wireless adapter:
    Disable the Power Off option for the adapter:
    1. Open Device Manager. (Win Key+R > type devmgmt.msc > OK)
    2. Expand the Network adapters.
    3. Right click on the Ethernet/Wireless Adapter and click Properties.
    4. Click the Power Management tab.
    5. Remove the check mark beside Allow the computer to turn off this device to save power.
    6. Click OK.
    7. Test.
    Forget the network: (Windows 8)
    1. Press Windows Key + C
    2. Click Settings.
    3. Click Change PC settings.
    4. Click Network on the left.
    5. Click Manage known networks.
    6. Click the network name.
    7. Click Forget.
    Reset the TCP/IP settings on your PC:
    1. Go to your start screen/menu and type CMD.
    2. Right click on the command prompt icon and chose Run as administrator.
    3. In the window that opens type "netsh int ip reset resetlog.txt" without quotes, and press enter.
    4. Restart your PC and test.
    It may also help to reset the winsock catalogue:
    1. Go to your start screen/menu and type CMD.
    2. Right click on the command prompt icon and chose Run as administrator.
    3. In the window that opens type "netsh winsock reset" without quotes, and press enter.
    4. Restart your PC and test.
    Reinstall the network adapter drivers:
    1. Download the drivers from here but do not run them yet.
    2. Go to your start screen/menu and type Device Manager.
    3. Expand Network adapters.
    4. Right click on the wireless adapter and choose Uninstall.
    5. Run the downloaded drivers from step 1.
    6. Restart your PC and test.
    Test an ethernet connection:
    Self explanatory. Test if the issue persists on a wired connection to rule out the wireless adapter hardware so troubleshooting can be directed towards the right areas.
    Test another connection:
    Many people rule out their home network as an issue if another device is working on the same network. Networking is not that simple. Each device interacts differently with your router or modem and it is impossible to rule out settings in that device until the notebook has been tested on another network.
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • Simple pass not working windows 10

    simple pass not working, does not recognise windows password at start to gain access to system, no flashing light, driversin software only go to windows 8.1.How do I reset the lot or reinstall simple pass?

    I have an HP Elitebook 8760W.  I cannot get Simplepass or Windows Hello to recognize my Validity VFM-471 fingerprint reader.  I'm not sure I have the right driver installed for the Validity hardware.  Could someone please point me to a link for the proper Win 8.1 driver?   I'm trying to make this work on Windows Pro 64 Bit.   I have tried everything to make this work.  Both Simplepass and Window Hello recognize the fingerprint read while I'm setting it up, but when rebooting and trying to log in with the fingerprint function - it doesn't act like it is even working.  I've tried all of the suggestions on the instructions to no avail.  The Laptop works just fine without the fingerprint scanner, and I guess I can live without it, but I've been used to using it on Windows 7 for so long, I'd like to have it working agian.  Any suggestions or hellp would be greatly appreciated.  Thanks in advance. 

  • I have a problem in this that i want to paas a form in a case that when user pres n then it must go to a form but error arises and not working good and threading is not responding

    made in cosmos help please need it
    using System;
    using Cosmos.Compiler.Builder;
    using System.Threading;
    using System.Windows.Forms;
    namespace IUOS
        class Program
            #region Cosmos Builder logic
            // Most users wont touch this. This will call the Cosmos Build tool
            [STAThread]
            static void Main(string[] args)
                BuildUI.Run();
            #endregion
            // Main entry point of the kernel
            public static void Init()
                var xBoot = new Cosmos.Sys.Boot();
                xBoot.Execute();
                Console.ForegroundColor = ConsoleColor.DarkBlue;
                a:
                Console.WriteLine("------------------------------");
                Console.WriteLine("WELCOME TO THE NEWLY OS MADE BY THE STUDENTS OF IQRA UNIVERSITY!");
                Console.WriteLine("------------------------------");
                Console.WriteLine();
                Console.WriteLine();
                Console.WriteLine();
                Console.WriteLine("\t _____                                
                Console.WriteLine("\t|     |        |            |        
    |            |      |");
                Console.WriteLine("\t|     |        |            |        
    |            |      |");
                Console.WriteLine("\t|     |        |            |        
    |            |      |");
                Console.WriteLine("\t|     |        |            |        
    |            |      |___________");
                Console.WriteLine("\t|     |        |            |        
    |            |                  |");
                Console.WriteLine("\t|     |        |            |        
    |            |                  |");
                Console.WriteLine("\t|     |        |            |        
    |            |                  |");
                Console.WriteLine("\t|     |        |            |        
    |            |                  |");
                Console.WriteLine("\t|     |        |            |        
    |            |                  |");
                Console.WriteLine("\t|_____|        |____________|         |____________|      ____________");
                string input;
                Console.WriteLine();
                Console.Write("\nAbout OS     : a");
                Console.Write("\nTo Shutdown  : s");
                Console.Write("\nTo Reboot    : r");
                Console.Write("\nStart Windows Normaly : n");
                Console.WriteLine();
                input = Console.ReadLine();
                if (input == "s" || input == "S"){
                    Cosmos.Sys.Deboot.ShutDown();
                else
                if (input == "r" || input == "R"){
                    Cosmos.Sys.Deboot.Reboot();
                else
                if (input == "a" || input == "A"){
                    Console.ForegroundColor = ConsoleColor.DarkBlue;
                    Console.Clear();
                    Console.WriteLine("\n\n\n-------------------------------------");
                    Console.WriteLine("version: DISPLAYS OS VERSION");
                    Console.WriteLine("about: DISPLAYS INFO ABOUT ANGRY OS");
                    Console.WriteLine("hello or hi: DISPLAYS A HELLO WORLD");
                    Console.WriteLine("MESSAGE THAT WAS USED TO TEST THIS OS!!");
                    Console.WriteLine("-----------------------------------");
                    Console.Write("You Want to know : ");
                    input = Console.ReadLine();
                    if (input == "version"){
                        Console.WriteLine("--------------------");
                        Console.WriteLine("OS VERSION 0.1");
                        Console.WriteLine("--------------------");
                    else
                    if (input == "about"){
                        Console.WriteLine("--------------------------------------------");
                        Console.WriteLine("OS IS DEVELOPED BY Qazi Jalil-ur-Rahman & Syed Akber Abbas Jafri");
                        Console.WriteLine("--------------------------------------------");
                    Console.Write("Want to go back to the main window");
                    Console.Write("\nYes : ");
                    string ans = Console.ReadLine();
                    if (ans == "y" || ans == "Y")
                        goto a;
                        Thread.Sleep(10000);
                    else
                    if (input == "n" || input == "N")
                        Thread.Sleep(5000);
                        Console.Clear();
                        for (int i = 0; i <= 0; i++){
                            Console.Write("\n\n\n\n\t\t\t\t\t  ____        ____   ___  
                            Console.Write("\n\t\t|\t\t |  |      |    |     
    |   |  | |  |  |");
                            Console.Write("\n\t\t|\t|    |  |----  |    |     
    |   |  | |  |  |---");
                            Console.Write("\n\t\t|____|____|  |____  |___ |____  |___|  |    |  |___");
                            Thread.Sleep(500);
                        Thread.Sleep(5000);
                        Console.Clear();
                        BootUserInterface();
                        Console.ReadLine();
    //                    Form1 fo = new Form1();
                    else{
                        for (int i = 0; i <= 5; i++){
                            Console.Beep();
                            Thread.Sleep(1000);
                            goto a;
                while (true);
            private static void BootUserInterface() {
                Thread t = new Thread(UserInterfaceThread);
                t.IsBackground = true;
                t.SetApartmentState(ApartmentState.STA);
                t.Start();
            private static void UserInterfaceThread(object arg) {
                Form1 frm = new Form1();  // use your own
                Application.Run(frm);
     

    Hi
    Jalil Cracker,
    >>when user pres n then it must go to a form but error arises and not working good and threading is not respondin
    Could you post the error information? And which line caused this error?
    If you want to show Form1, you can use form.show() method
    Form1 frm = new Form1();
    frm.Show();
    In addition, Cosmos is an acronym for C# Open Source Managed Operating System. This is not Microsoft product.If the issue is related to Cosmos, it would be out of our support. Thanks for your understanding. And you need raise an issue at Cosmos site.
    Best regards,
    kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • In Flex application functionality is working sometimes and not working sometimes..

    Hi,
    Please help me on this..
    In my flex application some functionality is working some times and not working sometimes..
    In my project i have 5 sections with 5 separate screens..Each screen is of one diffeent module.
    After logining into the application:
      I will go to one screen..First time every functionality is working in that screen..
    Ex:: I have a screen with datagrid.From that user will select one job name from datagrid click on next button..
    Based the job name the user selected i have to display some information in next screen and customer names.customer names is a combo box..
    below is the code:::
                   public function populateAllOEMCustomers(event:ResultEvent):void
              1)     var object_CustomerList:CustomerList = event.result as CustomerList; //Assigining result object values to Object reference variable.
              2)    var allOEMCustomersCollection:ArrayCollection = new ArrayCollection(); //Declaration ArrayColliction referance variable.
             3)       var i:int=0;
             4)      var customerComboLabel:Label = new Label();
              5)      for (i = 0;i < object_CustomerList.arryCollCustName.length; i++)
                        var strCustName:String = object_CustomerList.arryCollCustName.getItemAt(i).toString();
                        var strCustId:String = object_CustomerList.arryCollCustId.getItemAt(i).toString();
                        customerComboLabel = new Label(); //Dynamic declaration of label.
                        customerComboLabel.name = strCustName; //Assinging the customer name to the Label name field.
                        customerComboLabel.text = strCustId; //Assingning the customer id to the Label text field.
                        allOEMCustomersCollection.addItem(customerComboLabel); //Adding Lable into the ArrayCollection referace variable.                                       
                    //customerComboID.selectedItem = "--";   
                    OEMCustomersComboID.dataProvider = allOEMCustomersCollection;
                    OEMCustomersComboID.selectedItem = -1;
    This functionality is working fine when i visit to this screen first time..If you go back to another screen and come back to this same screen and click on next button this time customer names combo box has no customer details..I am getting Nullpointer Exception and it is showing the line number 5( i have given the number for code given above..)
    If i change the first line of the code to below code:: every time the above functionality is working fine.Not getting any error msg..
      var object_CustomerList:Object= event.result ;
    If i  type cast it to specific class(CustomerList) ,functionality is not working ..getting null pointer exception..If i type cast it to Object everything is working fine..In my code wherever i have typecasted it to specific class functionality is not working(gettingNullpointerExcepion).
    Please help me on this..I am not getting what could be the reason..
    I am using::Flex 3,Flash player 10.1
    Thanks in advance..
    Regards,
    Satya

    Hi Satya,
    This sometimes as in your case might not work as the way you have specified the RemoteClass attribute in your AS class. As somtimes there may be a case as before it is mapped to a server side you are returned the data and so that you may not get the data as your Custom class but as normal Object type.
    So in order to avoid this you can map the server side class to AS classes in the PreInitialize handler itself as shown below:
    Specify the preinitializeHandler in your main application and write the below function.This way also you can map AS classes with the server side. So that you will not have any problem referring your application as AS class types.
    You can use the same line for registering all the classes. By using this you can remove all the  [RemoteClass] attributes on all AS classes and include it at single place.
    preinitialize="onPreinitialize()"
    private function onPreinitialize():void
      registerClassAlias("com.expeditor.ScriptAdmin.Objects.CustomerList", CustomerList);
    Here in the above line of code the string in quotes refer to the namespace of the Server side class and the latter is your AS class. Also dont forget to import the namespace of the corresponding AS class in the file.
    Try this and let me know..
    Thanks,
    Bhasker

  • Program only coverted half my PDF and not working, Please refund me

    Program only coverted half my PDF and not working, Please refund me

    Hi,
    I am sorry that it did not work for you.
    May i know is this happening with all files?
    Would it be possible for you to send me the document so that i can check what is the actual issue.?
    Regards,
    Florence

  • How can I add Mail and Notes to my existing iCloud account?

    How can I add Mail and Notes to my existing iCloud account?

    YesI am using another kinfd of email - becuse calendar was working via ic;oud I hadn't created seperate icloud email.
    Taken your suggestion and created email account and activated Notes too.
    Just testing it out - seems to work
    Many thanks

  • Iphone not work i can only see the APPLE NOT WORK, iphone not work i can only see the APPLE NOT WORK

    iphone not work i can only see the APPLE NOT WORK, iphone not work i can only see the APPLE NOT WORK

    First, try to reset by holding the sleep and home button for about 10sec, until the Apple logo comes back again.
    If this does not help, connect in recovery mode and restore, explained in this article: iOS: Unable to update or restore

  • I have iPhone 4. After I upgraded to ios5 I have a problem with Wi-Fi connection with "WPA enterprize" protection. I can define the connection and everything works fine. But after I lose signal or shutoff the WiFi, I cannot re-connect, and need re-define

    I have iPhone 4. After I upgraded to ios5 I have a problem with Wi-Fi connection with "WPA enterprize" protection. I can define the connection and everything works fine. But after I lose signal or shutoff the WiFi, I cannot re-connect, and need re-define the net. It is only in WPA enterprize.
    Thanks,
    Eyal

    I tried this! Somebody suggested it in another thread. It did not work, sadly.

Maybe you are looking for

  • Spool generation in Payment Run F110

    Hi, We have a requirement, while running the payment run with 100 vendors a spool is generated with all the remittance advice for all the 100 vendors as page1 and page2 and so on to 100... The business requirement is, they want to generate one page f

  • I can't add videos to itunes in windows xp & windows 7

    I'm using windows 7, I cant add the vdeos to the library of tje itunes.There isn't any problems wtih video formats, 'cos this videos i had in my iphone 4s before I used windows xp. First time when I used windows XP i can add videos, but then i can't

  • Schedule a process chain using factory calender

    Hi All, My requirement: the user wishes to see the report every month, 1 working day prior to the month end. I am trying to do this usnig processing chain and factory calender to restrict it. 1. How can a factory calender be used ? 3. how do i give t

  • Create ecommerce sites with DW (was:About Dreamweaver CS5.5 Version support)

    Can I make an e-commerce with Dreamweaver CS5.5 version? Please let me inform the related resource support. Thank you. Shahzad Hassan Mirza

  • Performance of BETWEEN Operator

    Hello Friends Can anyone of u guys advise me how to overcome performance problem of BETWEEN operator. I am trying to run the following query, SELECT MEF436_TMP_DEVICE.JOB_KEY_DESC FROM MEF325_CUT200FT, MEF436_TMP_DEVICE, MEF320_FEATURE_ASG, MEF321_FE