How to compiling package with j2sdk

can I just use one command line to compilng a package under J2SDK?

I'm sure I'm not really doing you any favours here since wherever you would go otherwise (like a tutorial) would teach you much more than the simple answer to your question but, if you'll promise (no crossed fingers) to go and look at the tutorial mentioned by jesperdj then I'll tell you...
javac dir1\*.java dir1\dir1a\*.java dir2\*.javai.e. list all the directories you want compiled, with spaces in between.
Chris.

Similar Messages

  • How to compile forms with JDAPI ?

    Hi everyone:
    I have more than 200 forms need to compile. All the forms have libraries, object groups attached, they also call stored procedures in the database.
    When I run this code :
    FormModule frm= (FormModule) JdapiModule.openModule("/tmp/"+fileName);
    frm.compile();It reports error like this :
    Exception in thread "main" oracle.forms.jdapi.JdapiStatusException: _jni_compile_form failed
         at oracle.forms.jdapi.BaseAPI._jni_compile_form(Native Method)
         at oracle.forms.jdapi.FormModule.compile(Unknown Source)
         at oracle.forms.developer.JDAPIFormsApi.attachObject(JDAPIFormsApi.java:54)
         at oracle.forms.developer.JDAPIFormsApi.main(JDAPIFormsApi.java:71)Through forms builder, I need to connect to database, put all libraries and resources in the folder included in FORMS_PATH, to get them compiled.
    But how to compile them with all prerequisite conditions set up in my java code ?

    An easier way would be to compile the forms via script, there are several examples on the forum.

  • How to compile packages

    hi,
    i have a package structure
    root
    xml
    xmltest.java
    xmlans.java
    tts
    ttstxt.java
    ttsans.java
    ui
    uitxt.java
    uians.java
    sampletest.java
    how to compile all the above packages with a single javac.
    javac -d ????

    hi,
    i have a package structure
    root
    xml
    xmltest.java
    xmlans.java
    tts
    ttstxt.java
    ttsans.java
    ui
    uitxt.java
    uians.java
    ampletest.java
    how to compile all the above packages with a single
    javac.
    javac -d ????It's not quite enough (or at least the right) information. Are you saying that you have classes xmltest and xmlans in package xml? And ttstxt and ttsans in package tts? And uitxt and uians in package tts? and sampletest in which package?
    Java coding conventions say that class names should start with capitalized letters. Following conventions will make getting help easier.

  • How to find packages with errors?

    I have this problem:
    When I compile all invalid packages, I get an error message saying there is one package with some errors. How can I find out which one is it? There is no red cross on any of the package displayed in the package tree.
    Thanks for help

    Hi, after some time I would like to go back to this issue...
    Last week I got this problem again, so I started to look for the problem.
    The thing is we are using multiple schemes and I compiled by accident one of the package bodies to wrong scheme. So there is an invalid package body without its specification... SQL Developer doesn't display such body, maybe because it always supposes there is some spec. This is another disadvantage of the tree structure you are using - package body should be on the same level as package spec!
    Currently if you do such mistake like I did, and use the Compile invalid packages feature, you get an error message about package containing errors and it's hard to find what is going on.

  • How to install package with documentation

    hi, i installed emacs but the manual is missing in this instalation.
    How can I force to install a package with manual and other documentation?
    Thanks

    i solved it. I used the correponding option in PKGBUILD and compiled again. R.M.

  • How to compile package which contain class outside the package

    I am writing a JDBC driver.
    I have the following package structure in the folder:
    MyDriver
        |_manager.jar
        |_com
               |_ jdbc
                       |_ HXDriver
                       |_ HXConnection
                       |_ HXResultSet
                       |_ HXStatementIn manager.jar, there is a remote object Interaface(Manager.java) which I need to use inside HXConnection.
    My question is how to compile(or/and how to set the classpath)so that I can compile the 4 classes inside jdbc package.
    I tried this:
    C:\MyDriver>javac -cp .;manager.jar com/hx/jdbc/*.java
    However, this does not work, compiler says it cannot find Manager
    Please help me.
    Cheers

    D:\380 Project\Driver>javac -cp .;manager.jar com\hx\jdbc\*.java
    com\hx\jdbc\HXConnection.java:21: cannot find symbol
    symbol  : class Manager
    location: class com.hx.jdbc.HXConnection
            private Manager manager;
                    ^
    com\hx\jdbc\HXStatement.java:18: cannot find symbol
    symbol  : class Manager
    location: class com.hx.jdbc.HXStatement
            private Manager manager;
                    ^
    com\hx\jdbc\HXStatement.java:20: cannot find symbol
    symbol  : class Manager
    location: class com.hx.jdbc.HXStatement
            public HXStatement(Manager manager){
                               ^
    com\hx\jdbc\HXConnection.java:41: cannot find symbol
    symbol  : class Manager
    location: class com.hx.jdbc.HXConnection
                            manager = (Manager)reg.lookup("manager");
                                       ^

  • How to compile mplayer with giflib support?

    Hey all,
    i am trying to compile mplayer (or mplayer2, i have tried several pkgbuilds from aur), as the package from extra doesn't have support for the the gif89a video_out driver. I have giflib package installed, so i have the /usr/lib/include/gif_lib.h in my filesystem. If i try to compile mplayer with the ./configure --enable-gif option, it fails with the following error message:
    libmpdemux/demux_gif.o: In function `demux_close_gif':
    demux_gif.c:(.text+0x39): undefined reference to `PrintGifError'
    libmpdemux/demux_gif.o: In function `demux_open_gif':
    demux_gif.c:(.text+0x293): undefined reference to `PrintGifError'
    libmpdemux/demux_gif.o: In function `demux_gif_fill_buffer':
    demux_gif.c:(.text+0x95b): undefined reference to `PrintGifError'
    demux_gif.c:(.text+0xb1a): undefined reference to `PrintGifError'
    ...among others, because some other libraries (cdio_paranoia, theora and caca) have undefined references too. If i check the source of giflib, i see the missing function 'PrintGifError' in 'lib/gif_err.c', but i don't have this file on my filesystem. My question is from where should i obtain these sources, and where i need to place them to compile mplayer successfully?
    Update: here is the whole list of errors, all of them are undefined references to various functions: http://pastebin.com/LttqXy5J
    Last edited by vizipok (2013-06-03 11:53:20)

    sl1pkn07 wrote:why this downgrade
    Because there's lotsa compilation fails caused by the giflib API changing.

  • How to compile swf with ANT en ASC 2.0?

    He All,
    I used to compile a swf in Flash builder with this antscript below. But mxmlc in not supported anymore. Any idea how to compile the swf with ASC 2.0?
    <target name="compile.apple" depends="clean.apple">
      <echo message="Compiling swf"/>
      <mxmlc file="${app.projectfile}" output="${app.rootfile}" optimize="true" configname="airmobile" debug="false">
      <load-config filename="${app.rootdir}/resources/ant/build.config"/>
      <source-path path-element="${flex.sdkPath}/frameworks"/>
      <source-path path-element="${app.sourcedir}"/>
      <source-path path-element="${app.rootdir}/libs"/>
      <static-link-runtime-shared-libraries/>
      <compiler.library-path dir="${flex.sdkPath}/frameworks" append="true">
      <include name="libs/*" />
      </compiler.library-path>
      <arg line="-swf-version=17" />
      <arg line="-define=CONFIG::debug,false" />
      <arg line="-define=CONFIG::device,true" />
      <arg line="-define=CONFIG::local.false" />
      <compiler.library-path dir="${app.rootdir}" append="true">
      <include name="libs/*" />
      </compiler.library-path>
      </mxmlc>
      </target>

    He Peter,
    Thanks for your reply. I've made some steps, but still no perfect solution. I've managed to compile a swf with ant using only the AIR SDK.
    But, check these results
    - Compiled using Flash Builder release : 455 kb
    - Compiled with ant using mxmlc : 104 kb
    - Compiled with ant using compc : 139 kb
    Can you provide us an example, how to compile a swf using ant. For example, with an AIR mobile project.
    Thanks Peter.
    Tim.

  • Compile Package with DreamCoder

    Hi
    I compile the package and debugge with DreamCoder for oracle and is very easy for all PL/SQL developers.
    All task for developers is simple with this product .
    URL : http://www.mentattech.com
    Regards,
    Peter

    I have tried dropping the package and re-compiling it but to no avail. I can compile other packages/procedures/functions without any issues.
    Also, trying to run either EXEC UTL_RECOMP.recomp_parallel(4, 'SCHEMA_NAME'); or @?/rdbms/admin/UTLRP.SQL gives the following erros:
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    Process ID: 7040
    Session ID: 388 Serial number: 9039
    ERROR:
    ORA-03114: not connected to ORACLE
    DOC> The following query reports the number of objects that have compiled
    DOC> with errors (objects that compile with errors have status set to 3 in
    DOC> obj$). If the number is higher than expected, please examine the error
    DOC> messages reported with each object (using SHOW ERRORS) to see if they
    DOC> point to system misconfiguration or resource constraints that must be
    DOC> fixed before attempting to recompile these objects.
    DOC>#
    ERROR:
    ORA-03114: not connected to ORACLE
    DOC> The following query reports the number of errors caught during
    DOC> recompilation. If this number is non-zero, please query the error
    DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
    DOC> are due to misconfiguration or resource constraints that must be
    DOC> fixed before objects can compile successfully.
    DOC>#
    ERROR:
    ORA-03114: not connected to ORACLE
    ERROR:
    ORA-03114: not connected to ORACLE
    ERROR:
    ORA-03114: not connected to ORACLE
    ERROR:
    ORA-03114: not connected to ORACLE
    ERROR:
    ORA-03114: not connected to ORACLE

  • [SOLVED]How to install packages with the -U option? PGP error.

    I have to downgrade some packages (linux package due to ath5k problem), but pacman won't allow me because of the signatures.
    I downloaded the packages i need from here http://schlunix.org/archlinux/.
    These packages are safe to install? How can i bypass the signature check, if these packages are safe to install?
    Thanks.
    Last edited by Hyugga (2012-04-19 19:46:23)

    If you have a pgp key, you can sign the packages with your own key. You can do this by editing /etc/makepkg.conf, adding your key to the  GPGKEY="" section and enabling the sign option in the BUILDENV section. When building the package, it'll then be signed with your personal key. Afterwards import your key in pacman (pacman-key -r <yourkey>), assign the proper trust level and you're good to go.
    A workaround is to temporarily set "SigLevel = Never" in your /etc/pacman.conf (and hence disabling keysigning).
    EDIT: I just bothered to actually check your link and you'll be installing prebuilt binaries, so my first explanation doesn't apply there (you won't be building anything). So just setting SigLevel to Optional or Never (temporarily) should do.
    Last edited by Gcool (2012-04-19 19:23:05)

  • How to compile less with Dreamweaver in windows?

    i have Dreamweaver cs6 and i am trying to compile it with less , i have watched several tutorial on YouTube but most of them for Mac users not for windows users :/
    some videos suggest to change files inside dreamweaver like "extensions txt" but it's not working as well , Any help please ?

    http://www.dmxzone.com/go/21526/dmxzone-less-css-compiler-released-and-for-free/

  • Trouble compiling package with JDK 1.4

    Hi,
    I just installed JDK 1.4 on a new machine, now I have trouble running compile scripts that used to work on my old machine. The old an new are configured with Win 2000. The following compiles without problem:
    javac -classpath "..." -d "..." "c:\.....\com\...\some package\MyClass.java"
    Changing this statemetn to:
    javac -classpath "..." -d "..." "c:\.....\com\...\some package\*.java"
    should compile all Java files in 'some package', instead what I get is the following error message:
    error: cannot read: c:\.....\com\...\some package\*.java
    The documentation says that this should still work. Anyone aware of changes in 1.4 that could cause this problem?
    Thanks for responding

    As a work-around, you can use some Unix-styled shell (that is, command processor) which expands the *.expression into the list of the matching file names, thus releaving javac from this task. (Caveat: directory names with a space inside will cause problems.)
    I can recommend the Cygnus package (including the command processor "bash") or "MinGW", the Minimalist GNU For Windows with its simpler sh:
    http://www.mingw.org/
    ftp://ftp.franken.de/pub/win32/develop/gnuwin32/mingw32/porters/Mikey/

  • How to compile .so with gcc?

    I want to make a .so file (library for linux). How could I compile with gcc to have this output. My input file is in .c.
    Thanx

    gcc -I/$JAVA_HOME/include -I/$JAVA_HOME/include/linux -shared myCfile.c -o libMYLIB.so
    //Anders ;-D

  • How to compile package file?

    I have an actionscript file,it has a package name,it locate C:\demo directory,like follows:
    package demo{
    import flash.display.*;
    public class ABC extends Sprite{
      public function ABC(){
    Then I compile above code like following command,but it raise following error:
    C:\>mxmlc demo\ABC.as
    Loading configuration file C:\sdk\frameworks\flex-config.xml
    C:\demo\ABC.as: Error: A file found in a source-path must have the same package structure '', as the definition's package, 'demo'.
    Where is wrong above command?
    Thanks

    Set source-path, e.g.
    mxmlc demo\ABC.as -source-path=.
    Kenneth Kawamoto
    http://www.materiaprima.co.uk/

  • How to compile servlet with Edit Plus?

    Hi
    I am writing a Java servlet in EditPlus and am wondering how to include the servlet.jar file so that EditPlus knows where the javax.servlet.*, etc classes are. I suppose this is an EditPlus specific question so sorry about that but I didn't know who else to ask other than EditPlus themselves of course and I think I have tried that once.
    I have read replies on this forum about changing the classpath but I dont think that that is what I need to do here and if it is I dont know what I should be writing as I am not using the jdk.
    If anyone can help me at all I would be very grateful.
    Thanks

    Yes, I have also compiled Java files from EditPlus. Using the facilities for configuring 'User Tools' in EditPlus.
    EditPlus runts programs(javac in the current context) in a separate environment(separate DOS command).
    I just compiled, from EditPlus, some Java file of mine that uses something from the servlet API. It compiled just fine. I did not do any classpath or other setup on classpath lines inside EditPlus. I guess, EditPlus inherits the existing CLASSPATH(all environment settings in fact) setting from your environment and thereafter aslo passes it along to the separate command prompt it opens to run user configured tools to run.

Maybe you are looking for

  • Infopackage and process chain status

    Hello expert, I am new in BW technology and I need some help... Well I have created a process chain in order to load data into infoprovider. This process chain is running everyday in production system, (it's a tipical PC: delete PSA request, run info

  • Ipod isn't recognized by PC or ITunes, but it charges

    Hey guys, My Ipod has worked perfectly untill today. I came home and plugged in my Ipod to my computer and it connected, but when I looked again ITunes was opened and it said: "an ipod has been detected, but it could not be identified properly". It c

  • What's the use of this file?

    I found a file with the name [email protected] in $oracle_home/dbs. I deleted it and my oracle works as usual. What's the use of this file? Thanks

  • Any way of taking a screenshot to show the mouse cursor?

    I often take screenshots to explain things on the FCP X forum etc. In FCP X, like most video editing apps, the cursor can change its appearance dramatically according to what tool you are currently using. Unfortunately taking a screenshot does not di

  • Email CollectOverMetrics.ps1 HTML Report

    Exchange 2013 SP1 with 2 member DAG with 1 DB. I want to monitor the DAG using collectovermetrics.ps1. I want to have the html report from collectovermetrics.ps1 email to administrators. I know I have to have task scheduler run the command: CollectOv