Results 1 to 14 of 14

Thread: java editor?

  1. #1

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    java editor?

    I'm downloading JBuilder X ("trial" ahem)...
    I'm not really a big java fan so I don't know much about the different editors that are available out there. I'll be making small apps for a somewhat basic programming class. Any suggestions on what editor I should use? is JBuilder any good?
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  2. #2

  3. #3

  4. #4
    Hyperactive Member kleptos's Avatar
    Join Date
    Aug 2001
    Location
    The Dark Carnival
    Posts
    346
    There is a version of Java that comes with an editer called NetBeans. Its pretty cool, and has a lot to offer. Its either NetBeans or JavaOne Studio. One or the other, or both.
    ..::[kleptos]::..
    • Database Administrator (MSSQL 2000)
    • Application Developer (C#)
    • Web Developer (ASP.NET)


  5. #5
    Fanatic Member brown monkey's Avatar
    Join Date
    Jun 2004
    Location
    Cebu
    Posts
    552
    i use an unregistered textpad. can't afford.

  6. #6
    Hyperactive Member CaptainPinko's Avatar
    Join Date
    Jan 2001
    Location
    London, Ontario, Canada
    Posts
    332
    Netbeans is great if you got the hardware to run it. It's supports Java 5 in the 4.0-beta. It is still rapidly evolving and I can't think of any editor theat I've ever enjoyed working more with. Visual Basic may have had better WYSIWYG editor, but thats it. Really if you don't give NetBeans a try you are just hurting yourself. Hell, Sun wouldn't have bought it if it wasn't.
    "There are only two things that are infinite. The universe and human stupidity... and the universe I'm not sure about." - Einstein

    If you are programming in Java use www.NetBeans.org

  7. #7

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    anyone uses vs.net IDE to write java??I installed J# and it seems to compile native java code pretty good and it's an awesome editor...
    why not use that?
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  8. #8
    Fanatic Member brown monkey's Avatar
    Join Date
    Jun 2004
    Location
    Cebu
    Posts
    552
    dunno much about this thing but it seems that j# doesn't recognize env var classpaths. i tried this on j# and fails on classnotfound exception
    Code:
    package ConsoleApplication2;
    
    import java.sql.*;
    public class sample
    {
        public sample()
        {
            //
            // TODO: Add Constructor Logic here
            //
        }
    
        /** @attribute System.STAThread() */
        public static void main(String[] args)
        {
            //
            // TODO: Add code to start application here
            //
            Connection cn;
            try
            {
                Class.forName("com.mysql.jdbc.Driver");
                cn=DriverManager.getConnection("jdbc:mysql:///northwind");
                System.out.println("connected");
            }
            catch(Exception ex)
            {
                ex.printStackTrace();
            }
        }
    }
    but this is working with javac
    Code:
    import java.sql.*;
    public class sample
    {
        public sample()
        {
            //
            // TODO: Add Constructor Logic here
            //
        }
    
        /** @attribute System.STAThread() */
        public static void main(String[] args)
        {
            //
            // TODO: Add code to start application here
            //
            Connection cn;
            try
            {
                Class.forName("com.mysql.jdbc.Driver");
                cn=DriverManager.getConnection("jdbc:mysql:///northwind");
                System.out.println("connected");
            }
            catch(Exception ex)
            {
                ex.printStackTrace();
            }
        }
    }
    so perhaps built in packages such as java.* differs from j# and java. just a guess though. thoughts?

  9. #9

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    hmm
    aah ok I'm confused now.


    I tried referencing the vsjlib library that's provided by Visual Studio in C# and it works perfectly fine. So I can use the java functions in C#.... I dont understand though, so are these not the real java functions written by SUN? is this just another implementation of java created by microsoft?
    like if you dont have the java runtime files and you only have .NET installed, would you be able to run a J# program?

    I'm just not sure if I correctly understand how this whole j# thingie works
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  10. #10
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    J# is NOT Java. It is a language that emulates Java. J# is integrated into the .Net framework and uses the classes from there. It has exactly the same syntax as Java. It provides compatibility classes for many classes from the Java SDK.

    But you cannot, for example, use Java classes you downloaded with J#. The J# Java tree is considerably smaller than even the default Java tree that comes with J2SE.

    J# was created solely to lure Java programmers to .Net (or, as MS puts it, to ease the transition). I highly recommend not using it.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  11. #11

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    Originally posted by CornedBee
    J# is NOT Java. It is a language that emulates Java. J# is integrated into the .Net framework and uses the classes from there. It has exactly the same syntax as Java. It provides compatibility classes for many classes from the Java SDK.

    But you cannot, for example, use Java classes you downloaded with J#. The J# Java tree is considerably smaller than even the default Java tree that comes with J2SE.

    J# was created solely to lure Java programmers to .Net (or, as MS puts it, to ease the transition). I highly recommend not using it.
    aha ok, I agree
    but I may just use the VS.net editor while I take this java class. I hate all the other editors.
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  12. #12
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Feel free to use the IDE to write the code. It's a nice IDE, after all.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  13. #13
    Hyperactive Member BramVandenbon's Avatar
    Join Date
    Jan 2002
    Location
    Belgium
    Posts
    502
    NetBeans has intellisense, has a form developper, ... and thats a really good thing. But it takes 200 MB of hardspace and uses 512 MB RAM.

    I heared JCreator Pro has intellisense too, but thats not free though :-s There is a Shareware JCreater version too ... but that one does not have Intellisense.

    BlueJ is also nice to work with. Allthough it does not have intellisense and no formbuilder.

    If you have a lot of Memory and harddisk space I would go for NetBeans without thinking twice !!!

    I don't know about Visual Studio ... does it give intellisense on the native Java classes too ?
    ____________________________________________

    Please rate my messages. Thank you!
    ____________________________________________
    Bram Vandenbon
    http://www.bramvandenbon.com

  14. #14

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    Originally posted by BramVandenbon
    NetBeans has intellisense, has a form developper, ... and thats a really good thing. But it takes 200 MB of hardspace and uses 512 MB RAM.

    I heared JCreator Pro has intellisense too, but thats not free though :-s There is a Shareware JCreater version too ... but that one does not have Intellisense.

    BlueJ is also nice to work with. Allthough it does not have intellisense and no formbuilder.

    If you have a lot of Memory and harddisk space I would go for NetBeans without thinking twice !!!

    I don't know about Visual Studio ... does it give intellisense on the native Java classes too ?
    ok BlueJ?I call that BlueGay, it's really stupid.... hehe it's good for the beginners though I guess.
    Well I dont know what to say. I've tried all the editors mentioned in this thread. NetBeans seems to be pretty good. JBuilderX isnt bad either. I'm still more comfortable with visual studio. But that could be only because I'm used to visual studio (cuz of VB and C#).... I think NetBeans is great since its free. JBuilder seemed a little confusing and I couldnt even manage to build a java file (it required to build a whole project ), so hehe I gave up on that.
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width