Creating new files in Sun ONE

I just started learning Java and I downloaded the Sun ONE developers tool. I want to know how to create a new Java file from scratch using the code editor in this tool. I looked through the help and there doesn't seem to be a way to do this. I can edit a file, or ad a file to a project, or create a new folder, or create a new project, but there are no instruction is the help for just creating a plain old ordinary individual Java file. Like I said, I'm new to Java, so I'm starting out small, like one file at t atime. Other than using a mregular run-of-the-mill text editor, is there a way to create new Java files in Sun ONE, and if so, how?

Hi,
Click on the Filesystems tab.Then right click the file system node->choose mount.Mount the directory where you need to create your new java file.
Once the directory is mounted,
Right click the directory -->choose new --> classes-->Main--->then enter the name of the name ,this willcreate a new java file.
Hope this helps.

Similar Messages

  • How do I create an exe file using Sun One?

    Hello everyone,
    I need help in creating an executable file in Sun One, can someone please help?

    Hi all I search the forum and came up with some suggestions so I'll run with these until I exaust all of them!!! thanks anyways

  • Is it possible in KM to change "create new file" dialog?

    Is it possible in KM to change "create new file" dialog (Folder -> New -> Text File...) on consecution of my own screens(I mean user inputs information, presses next button, then again inputs information and so on)? And if its possible, could you please tell me how to do this. I'm new to KM as well as to SAP EP...

    Hi Aliaksei,
    the PDF referred to mainly explains how to configure commands (within layout sets etc), but as far as I understand your question, you want to develop your own screenflows / command. First, I definitely would disadvise a beginner in the EP/KM area to start with such a task...
    Anyhow, there is a one-step-screenflow-command tutorial on SDN: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/implementing flexible ui one-step-screenflow.article
    For more steps, you could start decompiling a command class of a command which is more or less similar to your needs (and the underlying classes) to get further insight.
    If you really should get that far and have implemented your own command, you just can switch the implementation class if you want to change the logic for an existing command under System Admin - System Config - KM - CM - UI - Commands - UI Commands - <command in question> Java Class setting.
    Hope it helps
    Detlev

  • Can't create new file automator action

    I'm trying to create a new Automator action that prompts the user to choose a new file. The Action is similar to the "Ask for Finder Items" actions except that it asks the user to choose a new file and not one that already exists.
    I chose to write it in applescript:
    script PicknewFile
    property parent : class "AMBundleAction"
    on runWithInputfromAction_error(input, anAction, errorRef)
    return choose file with prompt "Where do you want to save it?"
    end runWithInputfromAction_error
    end script
    When I try and run it, I get the following error message in the Xcode console.
    [Switching to process 10606]
    Program received signal: “EXCBADACCESS”.
    [Switching to process 10606]
    sharedlibrary apply-load-rules all
    No memory available to program now: unsafe to call malloc
    Data Formatters temporarily unavailable, will re-try after a 'continue'. (Not safe to call dlopen at this time.)
    kill
    Does anybody know when this happens?
    Thanks,
    Scott

    Looks like I was wrong. I created a brand new project in Xcode and all I did as add "choose file name" to the applescript. It still gets a "EXCBADACCESS". I also tried a 'display dialog "Error"' in my applescript and it does the same thing.
    Here is the script the fails. Everything else in the project is default.
    script ChoosenewFile
    property parent : class "AMBundleAction"
    on runWithInputfromAction_error(input, anAction, errorRef)
    -- Add your code here, returning the data to be passed to the next action.
    display dialog "Error"
    return input
    end runWithInputfromAction_error
    end script
    In the debugger, this is the stack:
    #0 0x91184917 in objc_msgSend
    #1 0x63707472 in ??
    #2 0x16c01e36 in DecodeAEDescInternal
    #3 0x16c02b4b in DecodeObjectSpecifier
    #4 0x16c01c24 in DecodeAEDescInternal
    #5 0x16c022bb in DecodeAEList
    #6 0x16bccdd0 in ASExecuteEvent_PushSendStackFrame
    #7 0x16bccfcc in ASExecuteEvent
    #8 0x918026cb in callComponent_4444
    #9 0x16bc3d4a in AppleScriptComponent
    #10 0x917efcb6 in CallComponentDispatch
    #11 0x972455df in OSAExecuteEvent
    #12 0x00339ffe in +[BAObjectProto invokeScriptHandler:forObject:args:error:]
    #13 0x0033a363 in -[BAObjectProto invokeScriptHandler:args:error:]
    #14 0x0033b581 in -[BAObjectProto forwardInvocation:]
    #15 0x92f760c4 in __forwarding__
    #16 0x92f75bf2 in _forwarding_prep_0__
    #17 0x000718af in -[AMAction runWithInput:loopParent:]
    #18 0x00070d2f in -[AMWorkflowRunner runAction:withInput:loopParent:]
    #19 0x000c60a8 in -[AMWorkflowRunner runAction:]
    #20 0x0013261d in -[AMRunActionOperation main]
    #21 0x9094d34c in -[__NSOperationInternal start]
    #22 0x9094cfe0 in ___startOperations_block_invoke2
    #23 0x91caa7b8 in dispatch_call_block_andrelease
    #24 0x91c9c97e in dispatch_workerthread2
    #25 0x91c9c401 in pthreadwqthread
    #26 0x91c9c246 in start_wqthread
    Any more advice would be appreciated.
    Scott

  • Photoshop CS6 cannot open or create new file.  This happened after running CCleaner

    Photoshop CS6 cannot open or create new file.  This happened after running CCleaner

    Hi, I've been asked to join this discussion. CCleaner is a nice tool, but if you used the Registry Cleaner that came with it, it might have done something to Photoshop's registry entries. There is that danger in using them.
    One thing CCleaner does is leave a backup of the registry, or you can use Windows System Restore to go to that point before you ran the Cleaner. Let's go with System Restore. Review the instructions.
    System Restore - Microsoft Windows
    If you suspect a virus, I'd like to direct you here http://bleepingcomputer.com/
    That would be the "Am I infected?" forum.
    They have the tools, you run them, and copy and paste the logs that are generated. They are very good at this, but it is super important you follow directions and don't leave until the process is completed.
    Gene

  • Illiustrator CS6 crashes when creating New File

    Hi.
    Im using windows 7 x64. And i have installed both Illiustrators x64 and x32. I can open Illiustrator but when i trying to create new file Illiustrator stop working.
    Windows 7 Hompe premium x64
    procesor i3 4x2.93
    ram : 4gb
    network with printers
    error reaport

    Hi Saras,
    We really apologize for all the inconvenience which has caused you.
    Try the steps below to check the issue.
    1. Try to reset the preferences
    Press Alt-Crtl-Shift on a PC  as soon as you click Illustratir icon to reset the preferences to the factory defaults.
    2. If that doesnt help try removing all the installed printers from the system one by one & check.
    3. Also you can try to put the system in clean boot & check if the AI still crashes if you try to create a file.
    In the meanwhile if these steps doesn't resolve your issues you can contact Adobe support by following the link below:
    http://helpx.adobe.com/contact/
    Thanks
    Mandhir

  • Iphoto 9  very unstable, Create new library.  Import one picture = crash

    Reloaded  Iphoto 9.
    Create new library.
    Import one picture,
    Iphoto 9  crashes immediately.
    Same behavior I was trying to fix.
    plist trashed. permissions repaired,
    Iphoto Lib manager also crashes Iphoto 9.
    macbook 2.26  running 10.6.8
    appreciate any insight.

    Did you delete the receipts before reinstalling?
    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    2c: on 10.7 they're at
    /private/var/db/receipts
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    If you purchased it on the App Store you can find it in your Purchases List.

  • Go-OpenOffice Writer Will Not Create New File

    I'm having a problem with go-openoffice writer, where it is unable to create a new file. If I open writer directly, a file appears for a split second on my screen and then disappears. This also happens if I attempt to create a new file from withing an already existing file. Strangely, I can open already existing files, just not create new ones.
    I tried uninstalling and resinstalling go-openoffice, but this didn't help. Any thoughts on what might be going on? Thanks.

    Yes that's my problem. I can't open an empty writer window. If I execute writer from the Gnome applications menu or from a terminal, I see the window for a split second and then it disappears, as if something is immediately closing the window the moment it opens. This also happens if I use the create new file command in the file menu, from an existing Writer file. This is not a problem with other Ooo apps. Base, Calc, Draw, Impress, Math all open new files fine. Only writer has the problem.
    As a completely cumbersome work around, I can open an existing file, use save-as to create another file, and then delete it's contents.
    Last edited by cb474 (2009-12-15 01:30:47)

  • Creating new file using report generation express vi

    Hello,
    In my application, I need to write certain data in excel sheet. For that I created an excel template and I used the express vi in report generation toolkit to save the appropriate data in appropritate columns. I need a new file created everyday by that day's name and write the data to it rest of the day. I am having problems creating new file using this express vi. I tried using the low level vi's but not been able to it properly.
    Attaching my code and excel template.
    Please help.
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    excel write2.vi ‏119 KB
    Book2111.xltx ‏8 KB

    r_te wrote:
    The thing is everyday there cannot be a file provided.
    Sure there can.  Don't you see the input on the Express VI for a file? "Path To Save Report" is the name of the input you want.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • I cannot create new file (.xslx) inside a folder with right click.

    I work with excel 2007 in window 7. Usually I create new files (.xlsx) by right click while I am inside a folder. But recently I have lost this opportunity. Now whenever I open a folder and want to create a new file (either .xlsx or .doc) I right click
    there. But there I find neither excel file icon nor word file icon. Power point, Access, Publisher file icons can be found there at that time. I do not know how I have lost the opportunity. Being failed to create files inside a folder now I go to start button
    or office button to create a new file.
    But I want to have the previous opportunity so that I can create a new file (excel or word) while I am visiting inside a folder. Is it possible? Thank, Nurul Amin.

    Hi,
    I would agree with Repair step provided by Robert, this will rewrite all the registry keys into the computer. Please have a try and let us know the result.
    Also, another quick way to rewrite all the registry keys and reregister the product is to run the problematic Office applications with "/regserver" switch:
    Press Win + R and type "winword.exe /regserver" or "Excel.exe /regserver" in the blank box, then press
    Enter.
    You might also want to give this a try.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to create new file folders?

    I'm can no longer create new file folders. Can someone help me? I've tried everything.

    Anice, welcome to the forum.
    When requesting help, you should always include the make/model of the computer and/or monitor. This information is necessary for us to review the specifications of them.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • I keep getting write errors (-50) when I try to create new files or folders on my Gen 5 Airport Extreme USB disk.

    Write errors (-50) when I try to create new files or folders on my Airport Extreme USB disk. Restarting the Airport Extreme seems to solve the issue. Any idea why this occurring? It doesn't seem to be OS specific, meaning I can't write to the drive from a Windows PC or a MacBook Pro.

    Although, I would consider it rare, it is quite possible that this drive is just not 100% compatible with the AirPorts. Typically, in these cases, the AirPort will not even recognize the drive at all ... or it will, but not allow you to access it. I actually haven't come across a case where you can read but not write to a drive consistently or vice versa ... except from Windows-based computers. Sorry!

  • Cannot open files or create new files in Photoshop cc trial

    Hi,
    after getting no support from your phone support line. I am writing here in hopes that this issue can be resolved. I cannot open files or create new files in Photoshop CC trial. Please help

    You can open Photoshop, you cannot create new documents. If you click file>new, the normal new dialog box opens, if you click "ok" it goes away. If you double click a PSD it focuses the Photoshop window. Nothing else happens.
    For me this is a new issue today. My computer is an i7/780, more than capable of Photoshop, and has run it fine up until now. My keyboard started freaking out last night and doing things I didn't want it to. I suspect it changed a setting or broke something.
    I have uninstalled and re-installed and it did not resolve the issue.
    This is obviously a critical issue that needs immediate attention.

  • Issue opening or creating new files in illustrator CS5 windows 7 64bit, "Not Responding"

    Issue opening or creating new files in illustrator CS5 windows 7 64bit, program becomes "Not Responding" when opening a file.
    I had recently tried a trial version of FontExplorer Pro X, and this issue has come up after the Uninstallation of that program.  Any suggestions?

    Check for ant third party plugin in the plugin folder....?
    Also Check in the new user account?
    Message was edited by: Manish_1988

  • Word will not save new files or open ones recieved in ichat

    Word will not save new files or open ones recieved in ichat
    i have had this problem before and had to take my computer to the apl store were someone at the genius bar fixed it by deleting some preferences thing i do not remember how who did it or how he got to that file and need help to fix this problem

    Try Finder>Library>Preferences>Microsoft>com.microsoft.word.prefs.plist, and delete that last one.
    I don't know that it will solve your problem, but I'm pretty sure that's what the guy did before. Good luck!

Maybe you are looking for

  • ACL is not enabled for this user  OSX 10.5

    I am running OS X 10.5 on a Mini Mac. It was a clean install, everything went smoothly except for configuring the mail server. I created my users as I normally do using Workgroup manager. However 2 out of 3 of users I created can not log into the IMA

  • How to call a void bean method in a jsp ?

    I want to call a bean method from the jsp page. The method is void i.e it returns nothing. Lets say the bean id is mybean and the method name is beanmethod( ). I want to know in what type of jsp tags should I put mybean.beanmethod( ). Using jsp expre

  • Unable to download any files in safari despite having 18.5 GB available

    Help! When I try and download any file from Safari I get the following message; "Safari could not download the file "File name" because there is not enough free disk space" with the following advice, "Try deleting documents or downloading to another

  • PNG fix in IE 6

    HALP! I applied one fix but it didnt work.  Does someone out there know how to fix the transparant PNG problem in IE6? http://batengineering.bdaonline.co.nz/

  • HELP! ERROR MESSAGE: Missing PDFMaker Files

    Hello- My Adobe Acrobat Professional 7.0 has been running perfectly fine for over a year now. However, today I went to create a pdf. and I received the following error message: Missing PDFMaker Files Do you want to run the installer in repair mode? S