Prompt command with JBuilder

i have just purchased my first JAVA book
"A Framework for Programming and Problem Solving"
Anyway, I have not gotten far at all because it asks me to use the prompt command early on to find the directory or make up one. I don't understand what that means. It came with a CD Rom with JBuilder on it. Why am I having to type using the command prompt and notepad as an editor? Is the JBuilder not the compiler/editor? I am confused and frustrated. Please help.

JBuilder is an IDE (Integrated Development Environment).
The Java SDK contains the compiler.
Notepad is a text editor.
There are many ways to enter, compile and run Java
programs. JBuilder is one environment, but it separates
the programmer from what is actually going on within the
computer. The author is probably trying to encourage
you to use notepad and the command prompt so that
you will understand what JBuilder does for you when you
tell it to "Make MyProject".
IMHO, when you are first learning to program, using a
text editor is probably best because you are required to
write all of the code and you control the compilation and
execution yourself. When you understand the basics of
programming it's great to use an IDE for the features that
they include. I would also suggest that you use TextPad
instead of notepad. It can be used to highlight Java code
and can also be configured to compile and run your
programs.
Hope that helps!
Mark

Similar Messages

  • Class files created with JBuilder don't run from command line ?

    I have created an Application with JBuilder which is
    running perfectly from within JBuilder.
    However when I tried to run the app from the command line using c:\java ...... I got an error
    Exception in thread "main" java.lang.NoClassDefFoundError: ItasApplication/class
    I also tried to compile my .java files with javac which
    worked perfectly but I got the same message when trying
    to run the app!
    Can you help me ?

    I did this and I got this message :
    Exception in thread "main" java.lang.NoClassDefFoundError: ItasApplication (wron
    g name: itasgui/ItasApplication)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
    1)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)

  • How to use "choose file with prompt" command?

    I need to use "choose file with prompt" command and I want give user possibility choose ONLY images (jpeg, png, gif). So, I write like this:
    choose file with prompt "Please, choose images for processing..." of type {"JPEG Image"}
    But this doesn't work! - All files (including jpegs) are dimmed, and user can't choose any....
    So, how can I filter JPEGs, PNGs and GIFs?

    I have found, that most of images on my computer has missing file_type, I don't know why..... so "type identifier of (info for (choose file))" also doesn't work properly.
    The only one way that 100% works is use Uniform Type Identifier (UTI) -- details here: http://www.huw.id.au/code/fileTypeIDs.html
    thanks.
    iMac G3, PowerBook G3 FW   Mac OS X (10.4.5)  

  • Deploying war files with JBuilder 5 to Tomcat 4

    Hi,
    I'm developing a webapp in JBuilder 5. When I copy my war file to tomcat 3.2 webapps directory and start tomcat it works just fine, but when I copy my war file to the webapps directory in tomcat 4 I have the following error when I start tomcat 4:
    ERROR reading java.io.ByteArrayInputStream@33f8f6
    At Line 15 /web-app/servlet/
    All the examples in Tomcat 4 works just fine, and if I create a war file from the command prompt it also works, but the war file generated with JBuilder 5 doesn't work.
    does this sound familiar?
    please help

    Hi Lilja,
    ran into this myself, and had to do a full web search to find the answer.
    JBuilder5 will let you change the Tomcat version a certain project uses, but it won't necessarily like it.
    Creating a new project with Tomcat 4 as the default server, and then putting your existing files into it seems to work.
    Dodgy, I know, but blame Borland. ;-)
    Ta,
    Martin Hughes

  • Can't execute java from prompt command. . .

    hello!
    that's the following:
    I'm trying to execute
    "java Teste.class "
    from prompt command and it throws:
    Exceptio in thread "main" java.lang.NoClassDefFoundError
    in thread main. The Teste.java file is compiled finely using
    "javac Teste.java"
    My enviroment variables are cofigured this way:
    NAME: JAVA_HOME VALUE: C:\Arquivos de programas\Java\jdk1.5.0_03
    NAME: PATH VALUE: C:\Arquivos de programas\Java\jre1.5.0_03\bin
    NAME: CLASSPATH VALUE: C:\Arquivos de programas\Java\jre1.5.0_03\lib
    the vm and jdk directory is this:
    C:\Arquivos de programas\Java\jdk1.5.0_03
    C:\Arquivos de programas\Java\jre1.5.0_03
    and the Teste.java is:
    package teste;
    public class Teste{
        public Teste(){
            System.out.println("Testando, Testando, Testando");         
        public static void main(String[] args){
            Teste exe = new Teste();
    }So if you have any suggestion, please post it. Thanks!!

    Soneca,
    You're a complete idiot.
    Along with crossposting every question you have you often respond like this in threads. Just a complete jacka$$.
    I'll be sure to ignore you in future other than to point out your crossposts when I find them of course.
    This previous thread of yours (cross posted as always [in 4 forums!!!]) really is demonstrative of the fundamental deepness of your nitwittery
    http://forum.java.sun.com/thread.jspa?threadID=764824

  • Prompt command

    I'm trying to bring up a prompt command. I can bring up the window but I cannot bring up the file with it when I type it in, if that makes any cense to anyone. this is what I have in my file
    class HelloWorld{
    public static void main(string[]args)
    system.out.printin("Hello World!");
    and I saved it in a File in Cdrive named Week 1 Directory and I'm supposed to send a picture of the command prompt to the proffesor but I can't get it to work. can anyone tell me what is going on.
    thanks need all the help i can get

    1. Compile your source code with javac. Ensure there are no exceptions and that all .class files are built
    2. Open a command line (on windows, run 'cmd')
    3. Run 'java mypackage/myapp' - java will actually open a command line if you didn't run from the command line.

  • PROMPT Command equivalent in Oracle 7

    Hi All,
    I am working on a database Health check script . I Have to implement this on a Oracle7 server running on OS HP-unix. I have done with this health check script on all the 9i servers. The same script i have to modify and implement in Oracle7 database also. To print Headings or titles in Oracle 9i i used PROMPT command. So which is the equivalent command that can be used in Oracle7. I want to print the headings. Kindly assist me.

    877920 wrote:
    Same error. Unable to login.
    SQL> connect / as sysdba
    ERROR: ORA-01017: invalid username/password; logon deniedAs far as I recall, sqlplus back then did not support this specific logon syntax. Qualify the connection string using username and password. e.g.
    sqlplus sys/mysecretpassword
    The sysdba role will likely not be enabled - but that should not be an issue for running a bunch SQL selects.
    Also reconsider using the sys schema for logging on. The only time this schema should be used is for actual database maintenance - like doing a shutdown, changing initialisation settings, doing an upgrade and so on.
    Using it as your personal superuser logon is not a good idea and one that you will be nailed for (and very hard) in any security review or audit.
    Rather create a new schema and grant it the minimal rights needed to do perform the required job.
    PS. Cannot recall if connect internal also worked in sqlplus back then - but that can be tried if you want a sysdba connection from sqlplus itself.

  • How to execute a system command with call executable in teststand 4.2.1?

    Hi All,
          how to execute a system command with "call executable" step in teststand 4.2.1?
          example as i want to quit a application.using "taskkill /f /im xxx.exe".And execute other system command(DOS).
    BR
    Johnny

    Hi, 
    I want to run netstat -an | find "8080" command from command prompt using call executable in test stand. after that i would like take the std output to local variable. 
    Attachments:
    callsettings.jpg ‏404 KB

  • Problem building GTK with jbuild on Mac OS X

    Hi everyone,
    I don't know if this is the right place to ask my question...
    I cannot build GTK with jbuild on my Leopard 10.5.8 system.
    I have deleted the Leopard built-in Python 2.5 folder (At that time I didn't know that deleting the default system Python is not good....) and I have installed Python 2.7 (from the .dmg file).
    I also Installed Apple Developer Tools, which I guess should be XCode 3.0.
    On the terminal I verified my Python version:
    $ which python
    /Library/Frameworks/Python.framework/Versions/2.7/bin/python
    Then I followed this guide to build GTK:
    http://sidhosting.co.uk/josh_fradley/getting-emesene-2-up-and-running-on-os-x/
    which is basically the same as the one in Gnome site:
    http://live.gnome.org/GTK%2B/OSX/Building#Procedure
    I followed the first guide, but it gives me some errors:
    macbook-pro-di-zhu-francesco-yangfan:~ francesco$ curl -o gtk-osx-build-setup.sh https://raw.github.com/jralls/gtk-osx-build/master/gtk-osx-build-setup.sh
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  3716  100  3716    0     0   1612      0  0:00:02  0:00:02 --:--:-- 1814k
    macbook-pro-di-zhu-francesco-yangfan:~ francesco$ sh gtk-osx-build-setup.sh
    Checking out jhbuild (2.32.4) from git...
    From git://git.gnome.org/jhbuild
    * tag               2.32.4     -> FETCH_HEAD
    Installing jhbuild...
    Installing jhbuild configuration...
    Installing gtk-osx moduleset files...
    PATH does not contain /Users/francesco/.local/bin, it is recommended that you add that.
    Done.
    macbook-pro-di-zhu-francesco-yangfan:~ francesco$ PATH=$HOME/.local/bin:$PATH
    macbook-pro-di-zhu-francesco-yangfan:~ francesco$ export PATH
    macbook-pro-di-zhu-francesco-yangfan:~ francesco$ jhbuild bootstrap
    Traceback (most recent call last):
      File "/Users/francesco/Source/jhbuild/jhbuild/config.py", line 212, in load
        execfile(self.filename, config)
      File "/Users/francesco/.jhbuildrc", line 90, in <module>
        _xcodeversion = xcode_ver()
      File "/Users/francesco/.jhbuildrc", line 89, in xcode_ver
        return float(exp.match(_ver).group(1))
    AttributeError: 'NoneType' object has no attribute 'group'
    jhbuild: could not load config file
    Anyone can tell me why I got this error?
    It seems that jbuild doesn't see my xcode version? But I did install it!
    It's very strange because I succeeded to do 'jbuild bootstrap' before when I used to have Python 2.5, although I got stuck for other commands more forward.
    Thanks everyone.

    You may want to also post over in the Developer forums...
    https://discussions.apple.com/community/developer_forums

  • Running the net or sc commands with the rights of the local System

    Hi
    In Windows 7 SP1, how do I run the net or sc commands with the rights of the local System?
    Thanks
    Bye
    Balubeto

    Hi,
    I agree with
    T. Kujala , it's easy to achieve this goal with PsExec.exe, the tool is easy to download and use.
    http://blogs.technet.com/b/askds/archive/2008/10/22/getting-a-cmd-prompt-as-system-in-windows-vista-and-windows-server-2008.aspx
    If you don't want to use external utilities, then this link below might give you some hints
    http://blogs.msdn.com/b/adioltean/archive/2004/11/27/271063.aspx
    Yolanda Zhu
    TechNet Community Support

  • How to exec command with parameters through runtime.exec()

    im trying to run a command prompt passing in parameters. Right now im creating a .bat file like this
    c:
    cd C:\SOMEDIR
    ant deploy moreparameters
    and then passing in the file name into the exec command. It is running fine but im trying to use the runtime.destroy() command and it doesnt close the ant command, it only closes the bat file which was already closed. Is there a command I could pass into the exec() method to run the ant command with the parameters without using a bat file?

    im getting a CreateProcess: ant deploy -Dswasm=swasm error=2
    When i try to do
    cmds[0] = "ant";
    cmds[1] = "deploy";
    cmds[2] = "-Dswasm=all-bs";
    Process p = runTime.exec(cmds, null, new File("C:\\Program Files\\apache-ant-1.6.1\\bin"));
    its like it cant find ant. But it finds java command fine. What should i pass into the second parameter, it says "If envp is null, the subprocess inherits the environment settings of the current process. " Does that mean it will take the window system enviroment variables? if not what string would i pass in to set where ant is?

  • EvModifyPkg Prompt command

    Hello All
    When I click on any datamanager package from BPC for Excel, I am getting the following error:
    "An error occurred in the EvModifyPkg Prompt command.
    An invalid prompt type is specified. [Automation error]"
    I am also not allowed to modify the package and receive error:
    "Microsoft .Net Framework
    An unhandled exception has occurred in a component in you application.
    Click continue and application will ignore and attempt to continue.
    Specified cast is not valid. "
    The application was running fine till morning and now we receive this issue.
    Please suggest for some methods to correct it.
    Regards
    Abhishek

    HI Nilanjan
    1. It is happening with all the packages. Even the pre-delivered packages.
    2. I tested Apshell and the packages there also throw same error.
    I have even copied the packages from a running environment but they donot work.
    Server diagnostic is also OK.
    Please suggest as I think this is due to some DLL file.
    Thanks
    Abhishek

  • Urgent:Someone who has experience with JBuilder???

    i'm new with jBuilder, I'm using JBuilder5 , i work in a team of 5 people , we work on the same project but everyone use a copy of the software.Right know we want to put the project we've done until know in a server and continue programming by using this copy(everyone will work in a different (package or Module in this project) but all this packages are on the same project wich is on the server) : we wnat to use the same copy but we must synchronize this??? the question how to set up the compiler of JBuilder to let it possible : an idea is that every body of us could compile his module by the right click option(rebuild + name of the package clicked), this for compiling but for runnig during the work i have no idea ??????????
    any kind of help plaease it's urgent
    some internet links ideas
    i'll be gratefully

    A lot of people here use ant. But not all of us can read your mind, and those of us that can are sadistic bastards that like to force people to provide details of their problems just for the hell of it.
    So please do the following:
    * Go through an ant tutorial or other introductory docs, doing an example or two if present.
    * Set up your build.xml according to what you've learned.
    * If it still doesn't work, post the relevant portions of it (hopefully you'll have a small, representative sample that reproduces the problem), along with your relevant directory and file structure, the command you're running, and what error messages you're getting.

  • Hye master.i want to install windows 8.1 but it can't and the prompt command had been out on my laptop screen.

    When i boot the cd,it can boot but after a while,the prompt command had been display on my laptop screen then i can't install the windows.anyone can help me?i'm from malaysia.thank you all

    Hi,
    Please refer to the guide provided by
    T. Kujala to correctly install Windows 8.1, if you have already followed the instruction, and the issue persists, then please post a screen shot of the "prompt command displayed on the screen" you mentioned for better understanding. Meanwhile,
    please make sure that the installation CD itself is not broken.
    Yolanda Zhu
    TechNet Community Support

  • Disk repair using the format - repair command with a mounted partition

    I was going to repair some bad blocks on a disk by using the format command with the repair option. When I entered the block number to be fixed it came back withthe question of:
    "Repair is in a mounted partition, continue?"
    Will I hurt anything on my system if I answer yes to continue or should the partition be unmounted before I do this?
    Thanks

    Did you have any answer?

Maybe you are looking for

  • How to delete old invitees from ical

    When creating a new appointment in ical, the invitee list autopopulates with old addresses - some of which ar every similar to new, and thus confuse... How does one get rid of these?  I have been to mail, window, previous recipients...and deleted...b

  • Migration and DVD/CD Sharing Update" (1.1)

    I recently installed the "Migration and DVD/CD Sharing Update" (1.1)" update using the Software Update application on 10/19/08. The installation went fine with no errors or apparent problems. I noticed yesterday that when I adjust the brightness up o

  • Jsp.parse.JspParseException

    Hi, I am using JDeveloper 3.2 to develop a develop a JSP application. I trying to get records to display on a custom screen layout. The first record is displayed. However, I get the following error message when I use the Navigation Bar to go to the n

  • Why the size of system table space is limited to 16383MB

    Hi, I am using 10.2.0.3.0 on linux 64 bit I want to find out that why size of sysaux tablespace datafile is limited to 16383MB as shown in Enterprose manager, i am using 64 bit linux sysaux tablespace File Size (KB) 716800 AutoExtend Yes Increment 10

  • Ilearning Course Structure

    Hi, I was wondering if I could get some help on extracting course/session information from the ilearning schema. We have in ilearning a number of courses which have nested levels of categories/folders followed by offerings i.e the scorm item. The dat