How to create multiple Sources/Classes with a Script

I'm trying all my java sources or classes, enter a script so that I can pass them all to another server without having to compile each file individually. When I concatenate two files and you try to compile I get an ORA-29536: badly formed source error.

How can I get multiple definitions into a single file and compile all classes?

Thank you

Gregory

Gregory:
If you want to download several Java classes in a manuscript of the solution is .sql file, for example:
---------------------------------------------------------------------------------------------------------------------
definition of set?

create or replace and compile the java source named 'my. Sleep' as
package my;
java.lang.Thread import;
public class {sleep
Public Shared Sub main (String [] args) survey java.lang.InterruptedException {}
If (args! = null & args.length > 0) {}
s int = Integer.parseInt(args[0]);
Thread.Sleep(s*1000);
} else
Thread.Sleep (1000);
}
}
/

create or replace and compile the java source named 'my. Did app»
package my;
public class App {}
Public Shared Sub main (String [] args) survey java.lang.InterruptedException {}
System.out.println(args[0]);
}
}
/

output
---------------------------------------------------------------------------------------------------------------------
Then the .sql file can be analyzed using the tools SQLDeveloper, JDeveloper, or SQLPlus.
HTH, Marcelo.

Tags: Database

Similar Questions

  • Substitution of the class, how to create the child class and then the base class

    I started to write a program for a DMM smart, that the problem is all versions of DMM greet the change company communication.

    My idea is to write a child class for each version, DMM and each Subvi child will replace the Subvi base class.

    My problem is, I first want to create a child class and after I see everything is working, start creating the base class. in this way, I'll see if think the right way.

    My question is

    How can I create a child class and then create the base class and configure the Subvi class of the child to be the substitution of the base class?

    I tried searching in the property of the class, but I don't see anything.

    Thank you

    This can be done and I did on occasion.

    You create the base class with the methods of dynamic distribution, you need (Connector components must be identical to those of the class of the child).

    Set then the legacy of the class inherits this base class.  If your method is defined as a dynamic distribution method in the parent, you will probably now have some errors (unless your method of child was already DD, in which case you might be OK already).

    To change the inheritance of a class, right-click on the properties of the class in your project, and then select Properties.  According to me, the tree of estate is at the lower end of the property.  Click on the 'legacy of change' (or something similar) to choose the class from which you now want to inherit.

  • How to create multiple CSS navigation bars?

    Hello

    How to create multiple CSS navigation bars?

    I currently have the code below (and it works very well) for a navigation bar, but I'm trying to create navigation bars .  Can I just change the 'nav ul li a""NAV ul li b"(note the 'a' change to a 'b') or something similar?  I can not understand the correct coding...

    Thanks in advance for any help!  I very much appreciate quick and precise Adobe support team answers!

    NAV ul {}

    margin: 0;

    padding: 0;

    }

    NAV ul li {}

    list-style-type: none;

    float: left;

    Display: block;

    height: 60px banner;

    Width: 333px;

    text-align: center;

    line-height: 55px;

    do-family: Arial, Helvetica, without serif.

    font-size: 33px;

    }

    NAV ul li a {}

    text-decoration: none;

    color: white;

    }

    NAV ul li: hover {}

    background-color: rgb (0,0,255);

    }

    NAV li: hover ul a {}

    Display: block;

    color: white;

    }

    No, the 'a' you see is an html element, , you can not change this.

    It's very simple.

    You can create a class, the name you want (I used .yourclass), add it to the second

  • How to create a photo album with ms office?

    How to create a photo album with ms office? I tried to use picasa, but I don't know how to make an album. I also want to add a text below.

    Click on the Forums link at the top of the page and go on the forums of office to ask. But, if you can not understand Picasa, you'll probably some luck using nothing else. Consider going on the forums of Picasa and get help.

  • How to create a recovery disc with all vista updates?

    original title: how to create a recovery disc with all vista updates without starting from scratch, so I can replace my hard drive?

    My hard drive seems to be dying.  I would replace the drive.  I reloaded vista from scratch with all the updates, but it took forever.  I would like to make a record of recovery with all updates.  IAM on vista Home premium.  32 bit

    If you want a good backup program that backups image, I recommend Acronis True Image 2010:http://www.acronis.com/homecomputing/products/trueimage/.  It offers a free trial, so you can test and if you want it's only about $30 for the original version.  A lot of people I know this program and use it instead of Vista even in versions of Vista that offers imagery as this program does a better job.  Of course you also need a place to put the backup (which will take a lot of space), so also consider.  The best choice would be a USB external hard drive at least as large as the readers you want to back up (not only the data on them, but the entire available disk space, so you miss when you add more information about the disks).

    You cannot use IMGBURN do - it can't do anything like that.  It must be the imagery of backup software.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to create a new project with other page with the new version of Muse layouts?

    Hello
    If someone would continue to operate as before with the inadmissible Muse version... is - this posible to have both versions installed? or how to create a new project with other page with the new version of Muse layouts?
    Or how to download third party) 3 different configurations (desktop/tablet/mobile) under the same url with a clean result, like up yet with the Muse does not?

    Thanks for any help,

    Patrick

    Use the new version! What you want to achieve, will work! Go to the 'Page' menu and choose 'Add another Layout' and the missed buttons are in plan view.

  • I need to update the screenshots for a new version of an app existing Itune application to download a new version. Since I did not create the original version, can you guide me how to create a new version with the new version number?

    I need to update the screenshots for a new version of an existing iTunes Connect App asks me to download a new version. Since I did not create the original version, can you guide me how to create a new version with the new version number?

    You must call the assistance of the company and ask them to help you with this. You can find contact information by logging on http://digitalpublishing.acrobat.com/ and looking at the Middle at the bottom of the page.

    Neil

  • How to create a menu manual, WITH dropdowns

    How to create a menu manual, WITH dropdowns

    You can use the "Composition" widget with these settings:

    Note: Use triggers to place your text. You can use each box to add all your links on the page in question.

  • How to create the new domain with lookup?

    How to create the new domain with list of choices like terrain dDocType system?

    Administration/Admin Applets tab / SCCM / information fields.
    Add field or edit a custom field if you have one.
    The name field (the name will be prefaced with the lowercase letter x behind the scenes, if ever, you write the code to call it if you name this Fruit it will xFruit for code)
    Define your values for the field, but the important thing for a menu drop-down list or list of selection will be to list the Option activate the checkbox.
    Then, you perform one of the 3 main things to put data in the list.
    1. manually fill in a list of options
    2. use a DB or DB table view to view Configuration Manager
    3. create a complex tree (read the documentation on which I him have not used)

    If this does not answer your questions, click the help button in the applet.

  • SQL query: How to match multiple names strictly with its appropriate values

    Hi all

    Assume there is a table of CODES (with 3 columns) as follows:...
    ------------------------------------------------
    Name ID value
    ------------------------------------------------
    SFO 100 080
    200 NY 044
    300. THE 040
    ------------------------------------------------

    I would need to write a SQL to retrieve the rows that match few of names and values. For example: (1) name = "NY" and value = '044' and (2) name = "LA" and value = "040".

    I wrote this sql...
    SELECT id, name, value of CODES whose name IN ('NY', THE ') and the value IN ('044 ', ' 040')
    This returns 2 rows as expected.

    At the same time, even for the following query, the same 2 rows are returned (which is false)
    SELECT id, name, value of CODES whose name in ('NY', THE ') and value in ('044 ', ' 444')
    -See the code std 444.

    My requirement is that the above query should return to the line for NY.

    My question is: how to match multiple names strictly with its appropriate values... ? That is to say, unless '040' is specified in the part 'value', the corresponding line in 'LA' should not be returned...

    I feel, nor the case AND neither the case of GOLD can be used in Where clause to check these 4 values.

    Any ideas... ? Can you please let me know... ?

    Thank you
    REDA

    as:

    select id, name, value from CODES where (name, value) in (('NY', '044'), ('LA', '040'))
    

    Published by: Lacotte Renaud on February 16, 2010 10:35

  • How can I configure the element with the script names?

    Could Hello someone give me a hand?

    I created symbols on the stage of this script below.

    ------------------------------------------------------

    for (k = 0; k < 5; k ++) {}

    sym.createChildSymbol ("mySymB", "Stage");

    }

    ------------------------------------------------------

    How can I configure the element with the script names?

    Because, when I try to control a symbol by using the getSymbol("---") command.

    I need to know the name of the item given to each symbol.

    Concerning

    Yes, you're right.

    Using 'Code-Example' If you write sym.getSymbol ("mySymB") that edge returns the undefined value.

    With "Drag-and-drop-Example", you can use sym.getChildSymbols ().

  • How to create a server through WLST (Weblogic Scripting Tool)?

    How to create a server through WLST (Weblogic Scripting Tool)?

    Thanks in advance...

    Sanjay

    It can be done using createServer. WLST, run help ('createServer') for more information on the syntax.
    -Saly

  • Satellite P840: How to create the secure boot with UEFI Bios recovery disk

    Hello

    I have laptop P840 that came pre-installed with Windows 8, which I've upgraded to Windows 8 Pro.
    I then updated to Windows Pro 8.1 by Windows store. Please notify:

    1. how to create a DVD repair or start for windows 8.1 pro with UEFI Bios and boot secured.

    2. I created a USB recovery using the control panel in Windows Pro 8.1. It starts OK. It will be the same as that I've created using the Toshiba Media recovery creator or will it drivers Windows Pro 8.1?

    3. check partitions with disk management, then 3 (450MO, 350 MB and GB 10.90) recovery partitions, 1 EFI system partition and 2 primary (C: programs) and D: for data. I created the recovery DVD and USB 2 disks. Can I remove the 3 recovery partitions?

    Your help will be very appreciated.

    Best regards

    Romero

    I found your previous thread on this topic:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=74272

    > 1. How to create a DVD repair or start for windows 8.1 pro with UEFI Bios and boot secured.
    To be able to boot from sources other than the drive HARD internal, the boot mode must be set to the CSM and secure boot must be disabled!

    > 2. I created a USB recovery using the control panel in Windows Pro 8.1. It starts OK. It will be the same as that I've created using the Toshiba Media recovery creator or will it drivers Windows Pro 8.1?

    Your laptop has been preloaded with Win 8. Right? For example, the USB flash stick memory you just use the Toshiba Recovery media creator contains the Image of Toshiba with Windows 8. Don t mix this Toshiba image with the image that can be created using Microsoft's own backup and restore function. Both are different pictures!

    > 3. Check it with disk management, then 3 (450MO, 350 MB and GB 10.90) recovery partitions, 1 EFI system partition and 2 partitions primary (C: programs) and D: for data. I created the recovery DVD and USB 2 disks. Can I remove the 3 recovery partitions?

    The last partition contains the files on HARD drive recovery. Usually this partition will be created again when you use the Toshiba Recovery disk to put the laptop back to factory settings. So in the case where you n t need this files or the partition, you can delete

  • Configuration of multiple sources EBS with FDMEE systems

    Hi team,

    Please provide your valuable suggestions in the present.

    We have three systems of source EBS and we need all three to be set to FDMEE to retrieve the GL data. I set up the first system EBS in topology ODI with identification information entered to the physical architecture of EBS_DATA_SERVER. Now for the other system two EBS how should I proceed. Can we have multiple source configured EBS systems both in FDMEE.

    Please help by providing your valuable contributions.

    Kind regards

    Laetitia Rasheed

    It is possible to 11.1.2.3. 530 and higher.

    Take a look at this document, well documented FDMEE: how to save multiple systems from the same Source Type in a single environment. (Doc ID 1997512.1)

    All the best.

    Kind regards

    Deker P.

  • How to create multiple hierarchies from the same physical table

    Hi all

    I have a physical table to join with a fact table: there are 3 different hierarchies, which share the last 2 levels inside the dimension table. It's the logic diagram of hierarchies:

    Dimension services
    -Business
    -Sector
    -Type
    -Operator
    -Product
    Partner of dimension
    -Partner
    -Operator
    -Product
    Contractor of dimension
    -Contractor
    -Operator
    -Product

    All columns are in the same table physical source. I tried to create 3 table logic source from the same physical table, everyone with all the columns and create a hierarchy for each dimension table, but it gives me nQSError: 15011.

    Any suggestion? Maybe the physical table alias can help for the creation of tables of different sizes?

    Thanks in advance,
    Concerning

    Hello

    It is a basic rule that you cannot create multiple hierarchies in a single dimension table, so what you do is create three tables of alias and slip into MDB layer in 3 different sizes and on top these tables create 3 different dimension hierarchies.

    Check if useful/correct

    Thank you.

Maybe you are looking for

  • The iPhone camera 6 (front and rear) and flashlight not working not

    Hello world I am a user of the Iphone 6 (128 GB) - purchased in December 2015. Version 9.2.1 For two days my camera (front and back) as well as the flashlight will not work. I see a black screen at the opening of the camera - can make changes to the,

  • Broadband for iPad pro because there is no slot for broadband on my iPad air

    How can I get my broadband sim card I use on my iPad Air to work on my iPad pro because it has a slot for Sim Card

  • DASYLab exe APPCRASH event

    DASYLab was previously loaded and running on our PC.  We were able to run tests and collect data.  Today, when the user has clicked on the icon it opens and the error code was APPCRASH.  I uninstalled DASYLab and then reinstalled, but it returns the

  • Research of a window does not work (but only when the folder is indexed).

    As the title suggests, I can look perfectly fine and find EVERYTHING in a folder with even the most detailed search operators, but only if I index the file. I had the same problem with Windows 7 as well and I don't know how to get around this problem

  • Trouble with math font

    Dear friends,Please see the photo above.  I'm doing the physical work, but I get these bad characters.  On top, the formula is completely unreadable.  I think they are just meant to be brackers it.  At the bottom left is a simple example.  You can se