Classes in Director

Hi:)
I wanted to know if we can write classes in director.
Can anyone please give me example for write a class and then
initialise the object and calling methods of the class?

Classes in Director are called Parent scripts. Create a new
script member. Name your script member "Test". In the Property
Inspector, at the Script tab, set its scriptType to #parent.
Give your script the following scriptText:
property pValue
on new(me)
pValue = #someValue
return me
end new
on GetValue(me)
return pValue
end GetValue
on SetValue(me, aValue)
pValue = aValue
end SetValue
Now compile your script by selecting Control | Compile All
Scripts. In the Message window, type:
vInstance = script("Test").new()
put vInstance.GetValue()
-- #someValue
vInstance.SetValue(#NewValue)
put vInstance.GetValue()
-- #NewValue

Similar Messages

  • Obfuscator for classes and directories?

    Cheers,
    Would you know if there is a free obfuscator that obfuscates not just classes and filenames in a jar file, but directories as well? Maybe static filenames like gifs as well?
    I tried Proguard, but it does not obfuscate directories and static files inside a jar file.
    Cheers,
    Gyuri

    To make it harder for curious people (competition) to copy the code. :)
    I have read the arguments pro and con on obfuscation / encryption...Still, given the fast paced internet market every hour I can get with being the only one having the product people want is of high value to me, and I will go the extra mile of obfuscating the code...
    I know competition sooner or later will get to it, but still...
    I found Zelix Klassmaster obfuscates the class dirs as well but maybe there is a free alternative...
    "Zelix KlassMaster saves class files, into the selected directory, using the current class names and the ".class" extension. It places the files into directories that reflect the classes package and will automatically create directories if necessary. So a Class named package1.Class1 will be saved in a file called Class1.class in the package1 directory. "

  • Importing existing classes loses package identity in 9.0.2

    I have tried several ways, but everytime I import existing classes, they all go to Miscellaneous Files and won't display under their packages. This is from disk or from source code control (CVS). This works fine with the same exact classes and directories under JDeveloper 3.1.1. It seems simple, but it is frustrating. Any suggestions?

    Hi,
    This is normally because the Source Path setting (under Common->Input Paths in project settings) is not set to the correct directory. You should get a prompt asking if you want to add the correct path to the source path when adding files to a project.
    Thanks,
    Brian

  • Creating multiple  Spry menu bars in one site

    I've been creating a website and I am required to use multiple templates to manage all the different sections of the site.  To make it much less of a hassle, once I created one template, I simply saved that template as another template so I would not have to start all over again.  On the first template I created a spry menu bar with a certain amount of buttons.  And because I created the other templates with that template, those templates had the same menu bar containing the same settings.  The problem is, because of the specified settings of the spry menu bar, if I change the amount of buttons from the original to one less, the whole bar on that template will get off center and messed up because the settings for the menu bar are not set to that certain amount of buttons, but if I change the settings to suite that amount of buttons, then the settings for all the templates change and that messes up the other menu bars on those templates because they have a different amount of buttons.  Currently my templates all contain 10 buttons and I am wanting to create a new menu bar with only about 4 - 6 buttons.  I thought going up to insert and inserting a brand new menu bar would do the trick but when I did that it inserted a menu bar that had all the settings of the already-created menu bar, (ie same background images, and hovers, etc.) as well as the width which, because the width is suited for 10 buttons, it does not properly make the default 4 button menu bar center correctly.  And if I try to change the settings on this menu bar then the same thing happens with everything changing and getting messed up.
    So after this long explanation, my question is, how can I insert multiple spry menu bars into one site that are not correlated with each other in terms of all the settings so that when changed, will not affect each other?  I am guessing I am having this problem because I created all the templates from one template so they are all interlocked, but the page that I tried to insert the brand new menu bar on was not created from any of the templates and was the first page I made at the very start.
    http://phonytrojanmusic.zxq.net/ Here is the link to the site. The first page that opens up is the page that I tried to insert the brand new menu bar on.  If you click on band choir or elementary you will see the menu bars with 10 buttons that are all interlocked in terms of settings.  Also, I'd like to note that if I delete a button in one template, it does not delete that same button in the other templates, nor does it add a button to the other templates if I add one.  Only the physical appearance changes because the settings are meant for only one amount of buttons.  Sorry for the novel!

    Alright well I just tried to use 2 complete different templates.  I created one brand new template from scratch, added the menu bar, gave it an ID of "band", and configured it to suite 10 buttons accordingly.  Then I started off from scratch again with a starting html page with a different css style sheet and added the menu bar and gave it a different ID of "choir" but the settings of the two different bars still act as one set of settings!  I dont know how to fix this problem.  Please tell me what to post if anything will help you. Im guessing the solution is very simple but I have tried everything.
    here is the code for the two different menu bars (one in each template)
    choir
      <ul id="Choir" class="MenuBarHorizontal">
          <li><a href="#">Programs</a>      </li>
          <li><a href="#">Home</a></li>
          <li><a href="#">Blog</a>      </li>
          <li><a href="#">Directors</a></li>
    <li><a href="#">Gallery</a></li>
    <li><a href="#">Forms</a></li>
          <li><a href="#">Calendar</a></li>
          <li><a href="#">Links</a></li>
          <li><a href="#">Contact</a></li>
        </ul>
    band
    <ul id="Band" class="MenuBarHorizontal">
          <li><a href="http://phonytrojanmusic.zxq.net/index.html">Programs</a>      </li>
          <li><a href="http://phonytrojanmusic.zxq.net/band/bandmain.html">Home</a></li>
          <li><a href="http://centerburgtrojanmusic.blogspot.com/">Blog</a></li>
          <li><a href="http://phonytrojanmusic.zxq.net/band/directors.html" class="MenuBarItemSubmenu">Directors</a>
            <ul>
              <li><a href="http://phonytrojanmusic.zxq.net/band/directors/cooper.html">Cooper</a></li>
              <li><a href="http://phonytrojanmusic.zxq.net/band/directors/teschler.html">Teschler</a></li>
              <li><a href="http://phonytrojanmusic.zxq.net/band/directors/lee.html">Lee</a></li>
            </ul>
          </li>
          <li><a href="http://phonytrojanmusic.zxq.net/band/shows.html" class="MenuBarItemSubmenu">Shows</a>
            <ul>
              <li class="MenuBarHorizontal"><a href="http://phonytrojanmusic.zxq.net/band/shows/field.html">Field</a></li>
              <li><a href="http://phonytrojanmusic.zxq.net/band/shows/concert.html">Concert</a></li>
            </ul>
          </li>
          <li><a href="http://phonytrojanmusic.zxq.net/band/gallery.html">Gallery</a></li>
          <li><a href="http://phonytrojanmusic.zxq.net/band/forms.html">Forms</a></li>
          <li><a href="http://trojanmusic.org/cal.html">Calendar</a></li>
          <li><a href="http://phonytrojanmusic.zxq.net/band/links.html">Links</a>      </li>
          <li><a href="http://phonytrojanmusic.zxq.net/band/contact.html">Contact</a></li>
        </ul>
    I currently do not have any links attached to any of the buttons in the choir bar.  Something went wrong and now I have to make the whole site over again so it is not very accessible.  Please post back asap!

  • Set working directory for a single thread

    Hi there,
    Well, there are already some threads about the "working directory" subject.
    Here's a new variant: I need to have different working directorys for each thread.
    I am currently enhancing an application to do some similar jobs multithreaded (but each one in a different working dir).
    So far, I started n instances of the same application in n virtual machines in n shells with each one having a different working dir.
    I think compared to the old way, doing it with multithreading is a good resource saving optimization...
    Reading through the 'working directory' threads , I everywhere found the recommendation to do without the internal 'cd' and use absolute paths instead.
    The problem is:
    Some of the lower level classes create directories and files in their constructors to make sure they exist when performing later actions.
    If there is really no way other than using absolute paths, I would need to change many constructor's and method's signatures (from the creation of a Runnable Object all the way down to the creation of the mentioned classes).
    So please, don't recommend me to use absolute paths if there's a trick to do a 'cd'.
    Of course, if there is really no way to do a 'cd' for a thread, this would be bad luck...
    Hoping for help
    Markus

    Hi,
    Reading those threads, I was not sure if the conclusion is "I can not" or "I should not" (maybe because its very difficult or it may have side effects or whatever).
    The scenario I described is true, but it was also meant to prevent people from saying "you should not" too easily.
    But if the conclusion is "I can not", it seems I will have to do numerous changes. Bad luck for me.
    Anyway, Thanx.

  • Making constraints on a symbol...

    I'm new here and I'm taking a class on Director.
    Unfortunately, my teacher does not know how to do much himself
    which is leaving me to come here and seek advice. Flash is a better
    option for what I'm looking for and Director is moved out anyway.
    Please forgive me in advance for any stupid questions and the like
    since I have not learned much.
    I am creating a video game similar to
    Arakanoid but
    with a small amount of moving objects instead of stationary
    objects. I am not trying to make an exact recreation but at least
    something that is playable and fun that can be made in Di.
    I am just taking it one step at a time so my question is, am
    I able to create a border around
    this
    portion of my picture? The black border is also part of the
    same PNG. Is it possible to create a border in the code so nothing
    passes that section or does my picture have to be separate from the
    black border? Basically, I want all actions constrained within that
    picture frame.
    I hope this question makes enough sense. Thank you for any
    help. ^_^

    This is a Flash ActionScript forum, and not to do with
    Director/Lingo. You
    want to ask your questions in a Director related forum.
    Dave -
    www.offroadfire.com
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Creating a boundry in the stage...

    I'm new here and I'm taking a class on Director.
    Unfortunately, my teacher does not know how to do much himself
    which is leaving me to come here and seek advice. Please forgive me
    in advance for any stupid questions and the like since I have not
    learned much.
    I am creating a video game similar to
    Arakanoid but
    with a small amount of moving objects instead of stationary
    objects. I am not trying to make an exact recreation but at least
    something that is playable and fun that can be made in Di.
    I am just taking it one step at a time so my question is, am
    I able to create a border around
    this
    portion of my picture. The black border is also part of the same
    PNG. Is it possible to create a border in the code so nothing
    passes that section or does my picture have to be separate from the
    black border?
    I hope this question makes enough sense. Thank you for any
    help. ^_^

    Yes, you can set a constraint for any sprite on the stage.
    You might benefit a great deal from reading "Advanced Lingo for
    Games" by Gary Rosenzweig. Don't be afraid of the Advanced part.
    It's a very good step by step book on building games with Director.
    It will explain a lot of the basics that you'll need to
    know.

  • How to create and use library JAR files with command-line tools?

    Development Tools -> General Questions:
    I am trying to figure out how to put utility classes into JAR files and then compile and run applications against those JAR files using the command-line javac, jar, and java tools. I am using jdk1.7.0_17 on Debian GNU/Linux 6.0.7.
    I have posted a simple example with one utility class, one console application class, and a Makefile:
    http://holgerdanske.com/users/dpchrist/java/examples/jar-20130520-2134.tar.gz
    Here is a console session:
    2013-05-20 21:39:01 dpchrist@desktop ~/sandbox/java/jar
    $ cat src/com/example/util/Hello.java
    package com.example.util;
    public class Hello {
        public static void hello(String arg) {
         System.out.println("hello, " + arg);
    2013-05-20 21:39:12 dpchrist@desktop ~/sandbox/java/jar
    $ cat src/com/example/hello/HelloConsole.java
    package com.example.hello;
    import static com.example.util.Hello.hello;
    public class HelloConsole {
        public static void main(String [] args) {
         hello("world!");
    2013-05-20 21:39:21 dpchrist@desktop ~/sandbox/java/jar
    $ make
    rm -f hello
    find . -name '*.class' -delete
    javac src/com/example/util/Hello.java
    javac -cp src src/com/example/hello/HelloConsole.java
    echo "java -cp src com.example.hello.HelloConsole" > hello
    chmod +x hello
    2013-05-20 21:39:28 dpchrist@desktop ~/sandbox/java/jar
    $ ./hello
    hello, world!I believe I am looking for:
    1. Command-line invocation of "jar" to put the utility class bytecode file (Hello.class) into a JAR?
    2. Command-line invocation of "javac" to compile the application (HelloConsole.java) against the JAR file?
    3. Command-line invocation of "java" to run the application (HelloConsole.class) against the JAR file?
    I already know how t compile the utility class file.
    Any suggestions?
    TIA,
    David

    I finally figured it out:
    1. All name spaces must match -- identifiers, packages, file system, JAR contents, etc..
    2. Tools must be invoked from specific working directories with specific option arguments, all according to the project name space.
    My key discovery was that if the code says
    import com.example.util.Hello;then the JAR must contain
    com/example/util/Hello.classand I must invoke the compiler and interpreter with an -classpath argument that is the full path to the JAR file
    -classpath ext/com/example/util.jarThe code is here:
    http://holgerdanske.com/users/dpchrist/java/examples/jar-20130525-1301.tar.gz
    Here is a console session that demonstrates building and running the code two ways:
    1. Compiling the utility class into bytecode, compiling the application class against the utility bytecode, and running the application bytecode against the utility bytecode.
    2. Putting the (previously compiled) utility bytecode into a JAR and running the application bytecode against the JAR. (Note that recompiling the application against the JAR was unnecessary.)
    (If you don't know Make, understand that the working directory is reset to the initial working directory prior to each and every command issued by Make):
    2013-05-25 14:02:47 dpchrist@desktop ~/sandbox/java/jar
    $ cat apps/com/example/hello/Console.java
    package com.example.hello;
    import com.example.util.Hello;
    public class Console {
        public static void main(String [] args) {
         Hello.hello("world!");
    2013-05-25 14:02:55 dpchrist@desktop ~/sandbox/java/jar
    $ cat libs/com/example/util/Hello.java
    package com.example.util;
    public class Hello {
        public static void hello(String arg) {
         System.out.println("hello, " + arg);
    2013-05-25 14:03:03 dpchrist@desktop ~/sandbox/java/jar
    $ make
    rm -rf bin ext obj
    mkdir obj
    cd libs; javac -d ../obj com/example/util/Hello.java
    mkdir bin
    cd apps; javac -d ../bin -cp ../obj com/example/hello/Console.java
    cd bin; java -cp .:../obj com.example.hello.Console
    hello, world!
    mkdir -p ext/com/example
    cd obj; jar cvf ../ext/com/example/util.jar com/example/util/Hello.class
    added manifest
    adding: com/example/util/Hello.class(in = 566) (out= 357)(deflated 36%)
    cd bin; java -cp .:../ext/com/example/util.jar com.example.hello.Console
    hello, world!
    2013-05-25 14:03:11 dpchrist@desktop ~/sandbox/java/jar
    $ tree -I CVS .
    |-- Makefile
    |-- apps
    |   `-- com
    |       `-- example
    |           `-- hello
    |               `-- Console.java
    |-- bin
    |   `-- com
    |       `-- example
    |           `-- hello
    |               `-- Console.class
    |-- ext
    |   `-- com
    |       `-- example
    |           `-- util.jar
    |-- libs
    |   `-- com
    |       `-- example
    |           `-- util
    |               `-- Hello.java
    `-- obj
        `-- com
            `-- example
                `-- util
                    `-- Hello.class
    19 directories, 6 filesHTH,
    David

  • Issue with anchors

    I am using anchors to link to a specific place in a document
    on the same page. For example I have name links at the top of page.
    When the link is clicked it brings the user down to the bottom
    portion of page with the respective persons name and bio. This
    worked fine for the first six names in the list, however the last
    three names, are not showing the correct anchor spot next to the
    persons name, it instead picks a random spot to anchor. The code is
    the same for all links so I don't know why it is picking a random
    spot to anchor.
    <div id="peopletext">
    <h2><img
    src="Assets/images/graphics/optimized/bullets_03.jpg" alt="bullet"
    width="19" height="16" />Investment Professionals</h2>
    <p><a href="#Ned">Ned Hamarat</a><br
    />
    <span class="biobiline">Co-Founder, President, Chief
    Investment Officer, Portfolio Manager</span></p>
    <p><a href="#Mary">Mary Palmer</a><br
    />
    <span class="biobiline">Co-Founder, Chief Financial
    Officer, Chief Compliance Officer</span></p>
    <p><a href="#Tia">Tia Bradford</a><br
    />
    <span class="biobiline">Director of Operations, Chief
    Technology Officer</span></p>
    <p><a href="#aggie">Agnes
    McCaffrey</a><br />
    <span class="biobiline">Account
    Administrator</span></p>
    <p><a href="#Chris">Chris Trout</a><br
    />
    <span class="biobiline">Director of
    Research</span></p>
    <p><a href="#Prakash">Prakash
    Vijayan</a><br />
    <span class="biobiline">Research
    Analyst</span></p>
    <p><a href="#Jakki">Jakki Braden</a><br
    />
    <span
    class="biobiline">Marketing</span></p>
    <p><a href="#Rose">Rose
    Ronquillo</a><br />
    <span class="biobiline">Head
    Trader</span></p>
    <p><a href="#Dan">Daniel Burns</a><br
    />
    <span class="biobiline">Research
    Analyst</span></p>
    <p><a href="#Kim">Kim Greaves</a><br
    />
    <span class="biobiline">Research
    Analyst</span></p>
    The problem begins with the line that starts with Rose
    Ronquillo.

    The browser cannot jump below the bottom of the page's
    content. It's likely
    that you have reached that point on the page.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "tiabradford" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am using anchors to link to a specific place in a
    document on the same
    >page.
    > For example I have name links at the top of page. When
    the link is
    > clicked it
    > brings the user down to the bottom portion of page with
    the respective
    > persons
    > name and bio. This worked fine for the first six names
    in the list,
    > however
    > the last three names, are not showing the correct anchor
    spot next to the
    > persons name, it instead picks a random spot to anchor.
    The code is the
    > same
    > for all links so I don't know why it is picking a random
    spot to anchor.
    >
    > <div id="peopletext">
    > <h2><img
    src="Assets/images/graphics/optimized/bullets_03.jpg"
    > alt="bullet" width="19" height="16" />Investment
    Professionals</h2>
    > <p><a href="#Ned">Ned
    Hamarat</a><br />
    > <span class="biobiline">Co-Founder, President,
    Chief Investment
    > Officer, Portfolio Manager</span></p>
    > <p><a href="#Mary">Mary
    Palmer</a><br />
    > <span class="biobiline">Co-Founder, Chief
    Financial Officer, Chief
    > Compliance Officer</span></p>
    > <p><a href="#Tia">Tia
    Bradford</a><br />
    > <span class="biobiline">Director of Operations,
    Chief Technology
    > Officer</span></p>
    > <p><a href="#aggie">Agnes
    McCaffrey</a><br />
    > <span class="biobiline">Account
    Administrator</span></p>
    > <p><a href="#Chris">Chris
    Trout</a><br />
    > <span class="biobiline">Director of
    Research</span></p>
    > <p><a href="#Prakash">Prakash
    Vijayan</a><br />
    > <span class="biobiline">Research
    Analyst</span></p>
    > <p><a href="#Jakki">Jakki
    Braden</a><br />
    > <span
    class="biobiline">Marketing</span></p>
    > <p><a href="#Rose">Rose
    Ronquillo</a><br />
    > <span class="biobiline">Head
    Trader</span></p>
    > <p><a href="#Dan">Daniel
    Burns</a><br />
    > <span class="biobiline">Research
    Analyst</span></p>
    > <p><a href="#Kim">Kim
    Greaves</a><br />
    > <span class="biobiline">Research
    Analyst</span></p>
    >
    > The problem begins with the line that starts with Rose
    Ronquillo.
    >

  • Pretty big problem

    I'm making a messenger and I can't get it to find a couple files I need. I'm using my own packages and interfaces and I can't get them to find each other. I was wondering if I could send it to someone to take a look at because there are a bunch of files. Thanks for your help in advance.

    Don't ask for personal email. Post the code here.
    If the code is too large, then create a very small example that demonstrates the problem. Is this a compile-time problem or a runtime problem?
    It probably is a classpath issue. Post the bare bones of the classes, what directories they're in, the command line you're using to invoke java or javac, what your CLASSPATH env var is if it's set...
    When you post code, please use [code] and [/code] tags as described in Formatting Help on the message entry page. It makes it much easier to read.
    Use the forum's search feature to search for classpath. You'll find lots of stuff.

  • How to create a database sowtware in java

    which thing is required to develope a database other than jdk1.6 and also which other files are required for it plz help
    i am not understanding exactly what is required

    which thing is required to develope a database other than jdk1.6Nothing. JDK 1.6 provides you with the development tools, JVM, and a pure Java database that can be embedded into your application. You will need to put the JavaDB JAR file into your class path. If you don't want to run JavaDB in embedded mode you will also need to start it up as a separate process and set the connection information.
    and also which other files are required for it plz helpIf you decide you want to use some other database product you will need to install that (as already suggested, MySQL might be a good choice for you) and then you will need to acquire the appropriate JDBC driver and put that in your classpath.
    i am not understanding exactly what is requiredAre you thoroughly familiar with Java already? Do you completely understand the behaviour of the classpath, and the difference between files, classes, packages, directories, objects, and references? If you don't, learn the basics first or you will be hopelessly confused.
    If you do understand the basics (and we'd better not hear questions about class not found exceptions if so) then as always you should read the excellent Sun tutorials on the subject:
    [http://java.sun.com/docs/books/tutorial/jdbc/index.html|http://java.sun.com/docs/books/tutorial/jdbc/index.html]

  • JNLP javaws error:  requested version of JRE...not locally installed

    Greetings,
    First: I am a user not a developer and have very limited understanding of JDK, JRE, and Java Web Start. I just want to figure out how to get these applications to run. I suspect it is a JAVA bug that is peculiar to my particular Windows XP-SP2 system configuration.
    My Problem: When trying to run (two different/independent applications) java web start applications, I get the following error.
    The application has requested a version of the JRE (version 1.4) that currently is not locally installed. Java Web Start is unable to automatically download and install the requested version. This JRE must be installed manually.+
    For reference, the Launch file is:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP to launch MOViewer application -->
    <jnlp
    codebase="http://gnlewis.ic.edu/~webmo/webmo/java"
    spec="1.0+" >
    <information>
    <title>MOViewer</title>
    <vendor>WebMO, LLC</vendor>
    <description>MOViewer application</description>
    <description kind="short">A Java interface for viewing molecular orbitals.</description>
    <homepage href="www.webmo.net"></homepage>
    <icon href="images/splash.gif"/>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.4+"/>
    <jar href="MOViewer.jar"/>
    <jar href="Jmol.jar"/>
    </resources>
    <application-desc main-class="net.webmo.moviewer.MOViewerFrame"/>
    </jnlp>
    I should note that the required JRE is installed. I have various builds of versions 1.4 through 1.6 installed on my laptop. And my gut tells me that it is not the JNLP file that is the problem. I believe it to be a problem (bug) with java, JRE, or javaws that shows up with my particular PC configuration (which I did not set up but don't believe is particularly unusual).
    Another interesting and possibly related problem, is that when I goto the java application control panel (Start->Control Panel->Java) and select the "Java" tab, there is a lower section for "Java Application Runtime Settings". If I slect the "View" button a screen appears with two tabs: User and System. There are no entries under either tab. I can "Add" an entry under the user tab (and find the path to the correct java version etc.) and "Apply" the settings. I cannot add anyting under the system tab (even the my user ID is part of the administrator group and should have full system access). Even after applying this change, I still cannot run the java web start application. If I close the control panel and reopen it, the JRE path that I "added" is no longer listed under "View". This seems odd behavior. It is as if there is some configuration file or environment variable somewhere that is not getting set/saved.
    Please....is there anyone that has seen this problem and has a suggested fix. I have googled this problem and found a very few seemingly relevant pieces of info but it seemed more of a developer issue and I do have the background to understand the proposed fixes.
    Thanks, in advance, for your assistance.
    --Clay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I have the same error message, just a different java version:
    I have Java 6 installed, but the application wants 1.5 or newer :O
    Message:
    The application has requested a version of the JRE (version 1.5+) that currently is not locally installed. Java Web Start is unable to automatically download and install the requested version. This JRE must be installed manually.
    Launch file:
    JNLPException[category: System Configuration : Exception: null : LaunchDesc:
    <jnlp spec="1.0+" codebase="http://192.168.125.25:8421/ibm/dircon/">
      <information>
        <title>IBM Launched Tasks</title>
        <vendor>IBM Corporation</vendor>
        <homepage href="http://www.ibm.com"/>
        <description kind="one-line">IBM Launched Tasks</description>
        <icon href="http://192.168.125.25:8421/ibm/dircon/images/dir_licext.gif" kind="default"/>
      </information>
      <security>
        <all-permissions/>
      </security>
      <update check="timeout" policy="always"/>
      <resources>
        <java href="http://192.168.125.25:8421/ibm/jreinst/installer" version="1.5.0+"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/Director.jar" download="eager" main="true"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/DirLibs.jar" download="eager" main="false"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/DirUIL.jar" download="eager" main="false"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/monitorinf.jar" download="eager" main="false"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/lic.jar" download="eager" main="false"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/USMSEngine.jar" download="eager" main="false"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/USMSKernelServices.jar" download="eager" main="false"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/ITDDefaultProductInfo.properties.jar" download="eager" main="false"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/dircon_inst.jar" download="eager" main="false"/>
        <extension href="http://192.168.125.25:8421/ibm/dircon/lib/jnlp/dircon_extensions.jnlp"/>
        <extension href="http://192.168.125.25:8421/ibm/dircon/lib/jnlp/dircon_inst_ext.jnlp"/>
        <property name="twg.help.dir" value="http://192.168.125.25:8421/ibm/dircon/ConsoleHelp/"/>
        <property name="dir.env" value="lic"/>
        <property name="twg.log.output" value="1"/>
        <property name="twg.code.base" value="\\Director"/>
        <property name="twg.directory.root" value="\\Director"/>
        <property name="twg.directory.classes" value="\\Director\\classes"/>
        <property name="twg.directory.data" value="\\Director\\data"/>
        <property name="twg.directory.log" value="\\Director\\log"/>
        <property name="twg.directory.proddata" value="\\Director\\proddata"/>
        <property name="twg.directory.tempdata" value="\\Director\\tempdata"/>
      </resources>
      <application-desc main-class="com.tivoli.console.ConsoleLauncher">
        <argument>192.168.125.25</argument>
          </application-desc>
    </jnlp> ]
         at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception:
    JNLPException[category: System Configuration : Exception: null : LaunchDesc:
    <jnlp spec="1.0+" codebase="http://192.168.125.25:8421/ibm/dircon/">
      <information>
        <title>IBM Launched Tasks</title>
        <vendor>IBM Corporation</vendor>
        <homepage href="http://www.ibm.com"/>
        <description kind="one-line">IBM Launched Tasks</description>
        <icon href="http://192.168.125.25:8421/ibm/dircon/images/dir_licext.gif" kind="default"/>
      </information>
      <security>
        <all-permissions/>
      </security>
      <update check="timeout" policy="always"/>
      <resources>
        <java href="http://192.168.125.25:8421/ibm/jreinst/installer" version="1.5.0+"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/Director.jar" download="eager" main="true"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/DirLibs.jar" download="eager" main="false"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/DirUIL.jar" download="eager" main="false"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/monitorinf.jar" download="eager" main="false"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/lic.jar" download="eager" main="false"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/USMSEngine.jar" download="eager" main="false"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/USMSKernelServices.jar" download="eager" main="false"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/ITDDefaultProductInfo.properties.jar" download="eager" main="false"/>
        <jar href="http://192.168.125.25:8421/ibm/dircon/lib/dircon_inst.jar" download="eager" main="false"/>
        <extension href="http://192.168.125.25:8421/ibm/dircon/lib/jnlp/dircon_extensions.jnlp"/>
        <extension href="http://192.168.125.25:8421/ibm/dircon/lib/jnlp/dircon_inst_ext.jnlp"/>
        <property name="twg.help.dir" value="http://192.168.125.25:8421/ibm/dircon/ConsoleHelp/"/>
        <property name="dir.env" value="lic"/>
        <property name="twg.log.output" value="1"/>
        <property name="twg.code.base" value="\\Director"/>
        <property name="twg.directory.root" value="\\Director"/>
        <property name="twg.directory.classes" value="\\Director\\classes"/>
        <property name="twg.directory.data" value="\\Director\\data"/>
        <property name="twg.directory.log" value="\\Director\\log"/>
        <property name="twg.directory.proddata" value="\\Director\\proddata"/>
        <property name="twg.directory.tempdata" value="\\Director\\tempdata"/>
      </resources>
      <application-desc main-class="com.tivoli.console.ConsoleLauncher">
        <argument>192.168.125.25</argument>
          </application-desc>
    </jnlp> ]
         at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    deployment.properties:
    deployment.javaws.jre.1.registered=true
    deployment.javaws.jre.1.enabled=true
    deployment.javaws.jre.1.osarch=x86
    deployment.javaws.jre.1.osname=Windows
    deployment.javaws.jre.1.path=C:\\Program Files\\Java\\jre1.6.0_07\\bin\\javaw.exe
    deployment.javaws.jre.1.location=http://java.sun.com/products/autodl/j2se
    deployment.javaws.jre.1.product=1.6.0_07
    deployment.javaws.jre.1.platform=1.6
    deployment.javaws.jre.0.osarch=x86
    deployment.javaws.jre.0.enabled=true
    deployment.javaws.jre.0.location=http\://java.sun.com/products/autodl/j2se
    deployment.javaws.jre.0.path=C\:\\Program Files\\Java\\jre1.6.0_02\\bin\\javaw.exe
    deployment.javaws.jre.0.platform=1.6
    deployment.javaws.jre.0.osname=Windows
    deployment.javaws.jre.0.registered=true
    deployment.javaws.jre.0.product=1.6.0_02
    deployment.browser.path=C\:\\Program Files\\Internet Explorer\\IEXPLORE.EXE
    deployment.version=6.0
    deployment.javaws.splash.index=C\:\\Documents and Settings\\adamd292\\Application Data\\Sun\\Java\\Deployment\\cache\\6.0\\splash\\splash.xml

  • No error if source directory and package doesn't match

    Hello,
    I am using Sun's jdk1.5.0_09 "javac" compiler and the package name in my Test class is written as "com.hrishijoshi.asdf". This file compiles even if I put it in a directory called "com" (or anything else, as a matter of fact).
    javac doesn't throw error even if the source file's directory structure doesn't match the package name defined in that file! It creates a directory structure matching the package name (not the source tree) in the output "classes" directory.
    Is this a feature or a bug? ;-)
    - Hrishi Joshi.
    PS: Here is a log of my compilation attempt on Fedora Core 5 Linux:
    [hrishi@hrishi test]$
    [hrishi@hrishi test]$ rm -rf classes/com/
    [hrishi@hrishi test]$ cat src/com/Test.java
    package com.hrishi.asdf;
    public class Test {
    [hrishi@hrishi test]$ javac -Xlint:all -sourcepath src -d classes src/com/Test.java
    [hrishi@hrishi test]$
    [hrishi@hrishi test]$ tree classes
    classes
    `-- com
        `-- hrishi
            `-- asdf
                `-- Test.class
    3 directories, 1 file
    [hrishi@hrishi test]$ 

    There is no requirement that source code files are in the correct directory structure. If you want javac to be able to automatically compile dependent files, then the source code must be in an appropriate structure and find-able from the classpath.
    Also, when you use the -d option, javac will create an appropriate directory relative to the directory specified in the -d option. That's how it is supposed to work.
    So it is working as designed and specified.

  • Hiding Flash files in one icon

    Hello,
    I'm a newbie to this forum and a novice at Flash, having used
    the program for 3 years now. I was always interested in the
    creative and design quality level people have taken, using Flash,
    so that's why I took a class in the program during college. I never
    thought I would ever use Flash again because it was and still is a
    difficult program (I've learned it takes A LOT of patients and hard
    thinking to work), but I enjoyed what could be produced once I got
    through the hard, tedious stuff. So, that's my story....
    Of course, I have a question to bare.
    I just finished a slide show/movie of art pieces for client.
    Now, I want to save it as a CD-ROM file. Having taken a class in
    Director MX as well, it was very similar to Flash MX (this is the
    version I produced the slideshow/movie in) and I barely remember
    one of my projects where I had to create a Director movie and save
    the files in one icon (did that make sense?). In other words, with
    the numerous files that were produced from my movie (like in Flash
    where you have various saved scenes), I had to create one icon that
    would hold the files, so that the end user would only see that icon
    (instead of the various files) and click on it to start the movie.
    I guess you can say it was more of hiding the files in a icon. This
    is what I'm trying to do with my Flash slideshow/movie. I have the
    swf. file that has the complete slideshow/movie, but I'm not sure
    if this is enough or do I have to go through a process to create a
    icon to open the slideshow.
    Hope all that I've written made any kind of sense and any
    help will be greatly appreciated.

    Yes you want all the files into one EXE right ? i.e one ICON.
    You can use FlashJester Jugglor and hide all the other files
    into the
    Additional Files section in Jugglor.
    Download a FREE evaluation copy from
    http://www.jugglor.com
    and give it a go.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

  • Where to place the third party jars on WLS 7.0SP2

    Our application use the thirdparty JDBC driver, for example, the JDBC driver for
    mySQL. I donot want my customer to modify startWeblogic.cmd or some file else
    to make the jar file available for the applicaiton.
    my question is if some directory exists under weblogic700/server where I can place
    the jar file(that is, like the installed extension of JDK or JRE).
    I try to place the jar file on server/ext, it does not work.
    Guofeng

    "Guofeng Zhang" <[email protected]> wrote in message
    news:[email protected]...
    >
    Our application use the thirdparty JDBC driver, for example, the JDBCdriver for
    mySQL. I donot want my customer to modify startWeblogic.cmd or some fileelse
    to make the jar file available for the applicaiton.
    my question is if some directory exists under weblogic700/server where Ican place
    the jar file(that is, like the installed extension of JDK or JRE).
    I try to place the jar file on server/ext, it does not work.
    GuofengDisclaimer: I am a newcomer to the world of BEA WLS,
    so try this at your own risk.
    For the 3rd party classes to be found, they have to be included somewhere
    in the CLASSPATH. The best place (IMO) for customisation of the CLASSPATH
    is in the extEnv.sh. You will not find it in a standard installation of
    WLS, but if you look in $WL_HOME/server/bin/startWLS.sh you will see this:
    PATH=".${PATHSEP}${WL_HOME}/server/bin${PATHSEP}${JAVA_HOME}/jre/bin${PATHSE
    P}${JAVA_HOME}/bin${PATHSEP}${PATH}"
    # Import extended environment
    if [ -f extEnv.sh ]; then
    . extEnv.sh
    fi
    Note the inclusion of "." at the start of PATH. This is magic that enables
    the ". extEnv.sh" command to locate the "extEnv.sh" script.
    In "extEnv.sh" you can use the EXT_PRE_CLASSPATH, EXT_POST_CLASSPATH,
    EXT_PRE_PATH, EXT_POST_PATH and LD_LIBRARY_PATH to add additional classes
    and directories to the server environment.
    For additional information, refer to the WebLogic Server Administration
    Guide (http://e-docs.bea.com/wls/docs70/adminguide/startstop.html).
    Similar, if you look in $WL_HOME/server/bin/setWLSEnv.sh you will see this:
    PATH="${WL_HOME}/server/bin${PATHSEP}${JAVA_HOME}/jre/bin${PATHSEP}${JAVA_HO
    ME}/bin${PATHSEP}${PATH}"
    export PATH
    # Import extended environment
    if [ -f extEnv.sh ]; then
    . extEnv.sh
    fi
    Note the missing "." in the PATH. This effectively means that even if
    the "extEnv.sh" script exists in the current directory, then ". extEnv.sh"
    command will only look along the PATH for the "extEnv.sh" script! To me,
    that looks like an error (probably caused by a DOS-programmer used to
    the default behavior in DOS to always look in the current directory
    regardless of the setting PATH), so as part of my localised installation
    procedure, I replace the offending part of setWLSEnv.sh with:
    # Import extended environment
    if [ -f extEnv.sh ]; then
    . ./extEnv.sh
    fi
    which forces the "." command to read the "extEnv.sh" file in the current
    directory, regardless of the setting of the PATH variable. I have
    notified BEA of this, but their responses is that it is per design!
    Regards,
    Jan Bruun Andersen

Maybe you are looking for

  • Getting error while deploying (.WSP) file

    HI ,     I developed timer through VS 2010.When i try to deploy that WSP file in production server through Stsadm/Powershell commands ,I am getting below error. The solution cannot be deployed.  Directory "NewsofTheweekMemoTimerJob_Feature1"  associa

  • Firefox crashes MANY times/day. None of your fixes work so far.

    Running FF 24.0 on Mac OSX 10.8.5. Crashes constantly. I get the color wheel and have to force quit. Force quit says "not responding". I have reset FF, turned off hardware acceleration, was already set at default theme, I have no extensions. It does

  • Pictures in Masthead

    Hi, I want to put some pictures in the header area. The provided functions in the theme editor do not solve my problem. I have to put more than only background images into the masthead. So I downloaded the masthead.par file and try to edit this. But

  • Problem opening up Itunes.....

    I try to open up itunes but everytime I do I get a mesage stating: "The iTunes Library.itl is locked, on a locked disk, or not have write permission for this File." Even thos I uninstalled and reinstalled it it still doesn't want to work, if anyone c

  • Macbook pro late 2011 Not installing Mountain Lion

    How do you boot from mountain lion installaion Because now it's just opening in lion rather than on startup?