Java editor for 10.5?

hello
i am a total programming newbie and am taking an introductory java course. the course supports windows only but having spoke to the instructor and discussed the jre and sdk versions that i have, native to osx ,she thinks i can run the java material on my machine. however, there is one hiccup, go figure- i need an java editor to handle the workload - the instructor suggested the following
www.panic.com/coda as one option.
can anyone confirm weather this is a good editor or recommend another that will satisfy that need.
also here is the course outline if that is helpful
http://www.uvcs.uvic.ca/aspnet/Course/Detail/?code=TETS315
actually any tips would be appreciated
best
phi

Hi!
You don't have to install a JDK or a JRE on your Mac as every Mac comes with a JDK preinstalled. You can't even download a JDK from Sun, as the JDK for the Mac is developed and distributed by Apple directly. No need to worry, just start your IDE or other Java development tool. They will run just fine on any plain Mac OS X system.
You can check it out yourself by opening Terminal.app (from /Applications/Utilities or use Spotlight to open that app) and run the command "java -version".
Christian

Similar Messages

  • Java editor for Linux

    Which is the best java editor for Linux ??
    in the Win plataform I'm using the JCreator ... and now I'm migrating to the linux plataform...
    please tell me the name of the editor you are using if you use Linux... (Red Hat 7.1 here...)

    you can try SciTE from http://www.scintilla.org - it's simple, fast and good enough. you can work with java, c and many other programming languages. There are some features that don't present in any other editor.
    Btw SciTE is only editor, not complete IDE. If you wish a full IDE with projects.. etc you can use Borland's JBuilder

  • Hello, i need a free java editor for rtf file !

    hello, i need a free java editor for rtf file , that its compatible
    with wordpad of windows, i have tried some of it but they are not compatible ,
    example: not mantain the tabs and the formattings of the text.
    Thanks

    hello, i need a free java editor for rtf file , that
    its compatible
    with wordpad of windows, i have tried some of it but
    they are not compatible ,
    example: not mantain the tabs and the formattings of
    the text.
    ThanksWhy are you using rtf files? .java files are plain text with no formatting info.

  • Developing a java editor for a special perspective in Eclipse

    Does anyone have any idea about creating a java editor for my perspective in eclipse.
    In other words, I want to know that an editor for the files with a specific extension (for example ".java" extension) is unique or not?

    Thank you for the advisements. We have changed the things with the release of version 1.32.
    It's not our intention to conceal our commercial interests with AniFun3, but we also want to give back something to the community. We do this with the free trial version. Everybody can use the trial version for commercial and non-commercial use. Below, there are some of the most recent benefits:
    - It strongly simplifies and accelerates the creation of (small) 3D applications
    - The community can use it as a platform to exchange pieces of work (for example: instead of typing in source code to help someone here in this forum)
    - And last, but not least: With the "CustomObject" Property there is a professional platform to let someone create and offer/exchange extensions to the 3D API. For example, if someone writes an interpolator for Material or an improved Text2D object, than it took just a little bit more work to make it configurable via the visual interface. Exchanging CustomObjects would probably bundle similar efforts from different sources in one place.
    Best regards,
    Oliver
    PS: Version 1.32 is optimised in many details and production stable. Users of earlier Versions should upgrade to 1.32.

  • Java Editor in Linux

    hi all,
    can someone suggest a good Java Editor for Linux? I'm currently using the BlueFish Editor and i press the DOT nothing is come out, i hope that to get an editor where the members can come out after the dot is presses. By doing this, it will minimise a lot of typing error. I had try to install the JCreator on my system, but the setup cannot run on Linux.

    u mean just copy the installation to the
    /usr/local??
    Because i dun have the root permission and the
    installation file has been downloaded at the desktopIf you don't have root permissions (and can't get them) then you probably will not be able to copy the JDK to /usr/local . You don't need the JDK to be anywhere in particular so if it is installed in your home directory then leave it there. Just make sure your 'path' is set correctly!
    To check you have it configured right, use
    java -version
    and it should report
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

  • " Why not Emacs Be the best editor for java"

    hai friends,
    iam using emacs editor for java. i think it is the best editor for java available
    for free of cost.
    we can easily customize it based on ur needs
    we can even customize the compilation and run option with single key stroke.
    and it has many interesting and useful features like shell, bsh, cvs customization,telnet
    and a lot more....
    many software concerns had made emacs as thier offical java editor
    i donot think anybody in this world who had used the emacs will go for some other editor
    and i do want to know from u all that whether i was wrong . and
    is there any other editor which can be better than emacs
    if so give me valid reasons
    get back to me if u are not aware of emacs features
    regards
    g.kamal

    I agree with you 100% on linux side, but in
    windows(tm) there are even better editors. I
    personally use MED in windows. After trying dozens of
    different editors in linux I ended up using emacs, it
    sure is the best editor in linux (for Java atleast).
    There are still some things bugging me, for an example
    I would like the "end" button to move the cursor to
    the end of the line instead of EOF.
    I donot understand why ur saying that the "end" button is not moving the cursor to the
    end of the line
    it works fine in my machine
    plz elaborate what more features u want, bcas it may be there in emacs , but u may not have that
    much awareness in it.
    regards
    kamal

  • Calling default XML editor for system in Java

    I'm looking for a way to call the system's default editor for xml files from a Java application. In other words, if I'm running on a Windows system, I might want to start Notepad, or if I'm on a Mac, maybe I want to start TextWrangler or oXygen, etc.
    Essentially, I want to pass down an XML file to the system and have the underlying system determine the default editor, and then open the file in that editor.
    I've seen some code using Runtime.getRuntime().exec("cmd /c notepad.exe") and the like, but that assumes
    a) I know what the default editor for XML on the system is
    b) I know the executable path for this file
    I don't have a way of knowing either of those assumptions. Can anyone suggest ways for me to solve this bind?

    You might want to check out the Desktop class which "allows a Java application to launch associated applications registered on the native desktop to handle a URI or a file" including "launching a registered application to open, edit or print a specified file".
    But note: "The mechanism of registereing, accessing, and launching the associated application is platform-dependent." In particular if there is no association between file/URI and application all you get is a IOException at the time you call open().

  • Error in Visual Editor for java with eclipse

    hello eb
    till i ysterday i used visual editor for java with eclipse normally without any problem but to day when i opened eclipse it display me this error :
    Error trying to set new File into editor
    Motif : java.lang.NullPointerException
    and i think that the problem comes from the visual editor plugin because when i add a new frame or even for the old frame it dosent display for me the graphical component like every time
    if si has the solution or can advise me thank you alot and i really dont know what to do .
    it is for my stydy project and i have to finish xorking as fast as possible so if so can help me

    well this forum here is the official java-forum by Sun.
    you are asking for help on Eclipse, a software made by IBM since the cooperation between the two werent that bright all the time.(hence the name eclipse)
    i just looked a few hours myself, and the latest version of the VE was suited for 3.0.2, the version fitting to the latest 3.1 build of eclipse, was still just a release candidate.
    wait a few days/weeks for a final build and retry.

  • Launch HTML Editor for creating webi reports - Java sdk

    Is there a way to launch HTML editor directly for creating webi reports..I know we can set the preference for HTML report panel in infoview...but thats not the requirement. I have to launch the HTML or Java report panel editor according to the User selection on the fly....its a customized java code for webi reports.
    Any help on this is appreciated!
    Thanks
    Chenthil

    Guys will this link work to launch the HTML editor....
    desktoplaunch/querywizard/jsp/entry.jsp?skin=skin_standard&docname=&docid=&isNew=true&isModified=&doctoken=we00010000b5d263b7d0a6&repotype=&unvname=&unvid=UnivCUID%3DAZu2kpoiudVOk35pUtr6.qQ%3BUnivName%3DKalvin&unvrepoid=&mode=C&decsep=.&unit=in&lang=en&doctype=wid&viewType=H&isModify=yes

  • Java editor - set the number of spaces displayed for tabs

    How do I tell Studio Creator to use tabs instead of spaces?
    I open Tools - Options - Editing - Java Editor and set
    Code Formatting Rule = Java Indentation Engine ...
    - Expand Tabs to Spaces = false
    - Number of Spaces per Indent = 4
    - Statement Continuation Indent = 4
    After reformatting the source every 8 spaces were replaced by 1 tab. The blocks look like (s = space, t = tab)
    ssss{
    t       {
    t       ssss{I want to have every 4 spaces replaced by 1 tab and displayed 4 characters per tab.

    How do I tell Studio Creator to use tabs instead of spaces?
    I open Tools - Options - Editing - Java Editor and set
    Code Formatting Rule = Java Indentation Engine ...
    - Expand Tabs to Spaces = false
    - Number of Spaces per Indent = 4
    - Statement Continuation Indent = 4
    After reformatting the source every 8 spaces were replaced by 1 tab. The blocks look like (s = space, t = tab)
    ssss{
    t       {
    t       ssss{I want to have every 4 spaces replaced by 1 tab and displayed 4 characters per tab.

  • Invisible caret in Sun ONE Studio 5 SE - Java Editor with black background

    How to change caret color in Sun ONE Studio 5 SE - Java Editor?
    The caret blinks changing its color between black and the background color.
    I have changed the background color of the editor to black (the first thing I do whenever presented to a new editor...) But the caret changes its color between black and the background color, that is black - result: the caret becomes invisible.
    Is it possible to change the behaviour of the caret? It could blink changing its color between the background color and a color that is visible (for dark backgrounds, white; for clear backgrounds, black).

    I've found the solution myself.
    Brief description:
    Tools | Options
    Editing | Editor Settings | Java Editor
    tab Expert
    Insertion Point Color = [255,255,255]
    Overwrite Caret Color = [255,255,255]

  • Using ComboBox as an editor for treenodes

    I have a customized combobox editor for editing treenodes. The treenodes may or may not editable based on a particular condition in the userobject at each node.
    The node and the combobox are rendered fine but as soon as I select an item from the combobox, i see the following error messages in the stack trace and the code goes into an infinite loop :
    Exception occurred during event dispatching:
    java.lang.StackOverflowError
         at java.lang.ref.Reference.<init>(Reference.java:198)
         at java.lang.ref.FinalReference.<init>(FinalReference.java:19)
         at java.lang.ref.Finalizer.<init>(Finalizer.java:69)
         at java.lang.ref.Finalizer.register(Finalizer.java:75)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:883)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:950)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:79)
         at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:86)

    Here's the code for the custom combobox editor:
    public class ScmComboBoxEditor extends DefaultCellEditor
    private JTree m_tree;
    /* private JComboBox m_comboBox;
    protected EventListenerList _treeNodeListeners = new EventListenerList();
    protected ChangeEvent changeEvent = null;
    public ScmComboBoxEditor(JTree tree, JComboBox combo)
    super(combo);
    m_tree = tree;
    setClickCountToStart(3);
    public Component getTreeCellEditorComponent(JTree tree, Object value,
                                  boolean isSelected,
                                  boolean expanded,
                                  boolean leaf, int row)
    Component comp = super.getTreeCellEditorComponent(tree, value, isSelected, expanded, leaf, row);
    if(comp instanceof JComboBox)
    JComboBox combo = (JComboBox)comp;
    ScmTreeNode thisNode = (ScmTreeNode)value;
    /* if(thisNode.getUserObject() instanceof ScmObject)
    ScmObject thisObj = (ScmObject)thisNode.getUserObject();
    Vector vItems = new Vector();
    vItems.addElement(thisObj);
    for(int j = 0; j < 3; j++)
    ScmObject obj = new ScmObject();
    obj.setName("Branch" + (j+1));
    vItems.addElement(obj);
    DefaultComboBoxModel comboModel = new DefaultComboBoxModel(vItems);
    combo.setModel(comboModel);
    if(thisNode.getUserObject() instanceof MappableProject)
    MappableProject thisObj = (MappableProject)thisNode.getUserObject();
    if(thisObj.hasBranches())
    Vector vItems = new Vector();
    vItems.addElement(thisObj);
    for(int j = 0; j < 3; j++)
    MappableProject obj = new MappableProject();
    obj.setName("Branch" + (j+1));
    vItems.addElement(obj);
    DefaultComboBoxModel comboModel = new DefaultComboBoxModel(vItems);
    combo.setModel(comboModel);
    else if(thisNode.getUserObject() instanceof MappableFolder)
    MappableFolder thisObj = (MappableFolder)thisNode.getUserObject();
    if(thisObj.hasBranches())
    Vector vItems = new Vector();
    vItems.addElement(thisObj);
    for(int j = 0; j < 3; j++)
    MappableProject obj = new MappableProject();
    obj.setName("Branch" + (j+1));
    vItems.addElement(obj);
    DefaultComboBoxModel comboModel = new DefaultComboBoxModel(vItems);
    combo.setModel(comboModel);
    return comp;
    public boolean isCellEditable(EventObject ev)
    boolean rv = false;
    if(ev instanceof MouseEvent)
    MouseEvent me = (MouseEvent)ev;
    System.out.println("Clicks = " + me.getClickCount());
    if(me.getClickCount() == this.getClickCountToStart())
    TreePath path = m_tree.getPathForLocation(me.getX(), me.getY());
    ScmTreeNode node = (ScmTreeNode)path.getLastPathComponent();
    if(((ScmObject)node.getUserObject()).hasBranches())
    rv = true;
    return rv;
    public boolean stopCellEditing()
    this.fireEditingStopped();
    return false;
    public void cancelCellEditing()
    this.fireEditingCanceled();
    /* public void addCellEditorListener(CellEditorListener l)
    _treeNodeListeners.add(CellEditorListener.class, l);
    public void removeCellEditorListener(CellEditorListener l)
    _treeNodeListeners.remove(CellEditorListener.class, l);
    protected void fireEditingStopped()
    Object[] listeners = _treeNodeListeners.getListenerList();
    for(int i = listeners.length-2; i >= 0; i-=2)
    if(changeEvent == null)
    changeEvent = new ChangeEvent(this);
    ((CellEditorListener)listeners[i+1]).editingStopped(changeEvent);
    protected void fireEditingCanceled()
    Object[] listeners = _treeNodeListeners.getListenerList();
    for(int i = listeners.length-2; i >= 0; i-=2)
    if(changeEvent == null)
    changeEvent = new ChangeEvent(this);
    ((CellEditorListener)listeners[i+1]).editingCanceled(changeEvent);
    public void setCellEditorValue(Object value)
    m_comboBox = (JComboBox)this.editorComponent;
    m_comboBox.setSelectedItem(value);
    }

  • Java Editor with the HelloWorldServlet does not open

    I am following the Getting Started guide lines. When choosing Finish in step 6 of "Create a HelloWorld Servlet" (https://help.hana.ondemand.com/help/frameset.htm?e5a8b1d3bb571014a0f89bb4706d4e0b.html) then the Java Editor should open.
    Unfortunately this does not happen at my installation.
    The only displays at the footing of the Overview picture are "Writable", "Smart Insert" und "1 : 1" for some time.
    This is also interfering with a message "'Periodic workspace save.' has encountered a problem.
    Could not write metadata for '/RemoteSystemsTempFiles'."
    Did I skip something in the guide? How please should I continue editing my first HelloWorld servlet?

    C:\Gm\GmSAP2014\workspace\.metadata\.log shows several entries like this one:
    !ENTRY org.eclipse.core.resources 4 568 2014-07-26 11:29:55.566
    !MESSAGE Could not write metadata for '/RemoteSystemsTempFiles'.
    !STACK 0
    java.io.FileNotFoundException: C:\Gm\GmSAP2014\workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\RemoteSystemsTempFiles\.markers.snap (Das System kann den angegebenen Pfad nicht finden)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
      at org.eclipse.core.internal.localstore.SafeChunkyOutputStream.<init>(SafeChunkyOutputStream.java:45)
      at org.eclipse.core.internal.localstore.SafeChunkyOutputStream.<init>(SafeChunkyOutputStream.java:41)
      at org.eclipse.core.internal.resources.SaveManager.visitAndSnap(SaveManager.java:1712)
      at org.eclipse.core.internal.resources.SaveManager.visitAndSnap(SaveManager.java:1795)
      at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1168)
      at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1110)
      at org.eclipse.core.internal.resources.DelayedSnapshotJob.run(DelayedSnapshotJob.java:51)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    The term "project node" is not to be found in my installation: this is how my start screen looks like:
    If you ment to double click that entry under "File":
    That simply results in the display of that bottom line, but no editor window opens:

  • Java extension for SQL Developer 2.1 (SqlEditor)

    Hello,
    we are developing a java extension for SQL Developer. It was working fine in version 1.5.5 but it seems that some of the java classes were changed in version 2.1 so it does not any more. In the SQL editor, we want to have a context menu action that gets the selected SQL statement and calls a database function with it as an argument. Our code looks like
    @RegisteredByExtension("our.developer.extension")
    public final class OurCommand extends Command {
    public int doit() {
    SqlEditor sqlEditor = (SqlEditor)getContext().getView();
    String query = sqlEditor.getView().getSqlStatement();
    sqlEditor.executeSql(query, "");
    //or
    //sqlEditor.getView().scriptRunner(query);
    Unforunately, in SQL Developer 2.1 the class oracle.dbtools.sqlworksheet.sqlview.SqlEditor does not exist. Does anybody know how to write this example for version 2.1? Is there an API documentation (alas, [http://wiki.oracle.com/page/SDK+2.0] is an empty article)?
    BTW, does anybody know how to open the dialog for connecting to a database when sqlEditor.getConnection() is null?

    I got it to work using a BASIC call instead of my normal TNS call.
    We use MS SMS to package the Oracle client and SQL Developer and push it out to users so we don't have people visiting desktops. Also, we use OID to store the entries instead of a tnsnames file so that we don't have to maintain a TNSNAMES file.
    I am testing 2.1 as we would eventually upgrade when it goes GA.
    2.1 seems to be built on Oracle 11g. Issue will be that since 99% of our databases are 10gr2 as well as 100% of our client population will be be forced to upgrade the Oracle client to use 2.1 as we do today without lots of changes for the end user?
    We don't broadcast the information the average user requires for a BASIC connection so that is out for non technical users..
    We have SQL Developer 1.5.5 right now and this is not and issue.
    Hopefully, this will be resolved during EAI for 2.1.

  • Problem when using Ctr-Z in Java editor

    If I create a component in the Desgin view, the switch to Java Editor and uze Cancel (or Ctrl+Z), it cancle the op�ration, ie remove the code added when the component was created. The component is also removed in Design view. However, it is stil present in the JSP code. Under deployment, it produces an error. The stacktrace says the error is about a component which is not present in the design view, wich is a bit confusing.

    Looks like a bug.
    To fix just remove the jsp tag for the component

Maybe you are looking for