Is it legal to distribute JRE

Question : I want to copy JRE on DVD and distribute the DVD to client. Is it legal to distribute JRE on DVD to client ?

http://java.sun.com/javase/sitemap.jsp
If you don't find answer there, you should probably contact Sun directly.

Similar Messages

  • Is it legal to distribute jre like this?

    Hello! I'm a java developer living in Republic of Korea. Because I want my java program to be executed in any PC which didn't install jre or jdk before,
    So I want to copy my jre folder(C:\Program Files\Java\jre1.5.0_19) into my java program folder and distribute them together.
    Is this possible? Or is this prohibited? Please give me a reply when you feel convinient. I'll wait your reply with favor. :)
    Thank you very much and have good day!!
    (And I'm not good at English, so if I hava a mistake in English please understand me with your warmth.)
    ps : My Program folder structure is like below.
    ┼ root ┌ com // My class folder
       ├ config // My config files
       └ jre1.5 // sun jre 1.5

    Can you distribute your application form a web server?
    If so, you are in luck, because Sun has a far better alternative.
    1) Use [deployJava.js|http://java.sun.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html] *(<- link)* on the web site to make sure the end user has the minimum required Java to run the application. In my case, it would check that my Ubuntu Linux box has 1.5+, discover it has 1.6, and provide me the link to launch the application without any further downloads. Note that I don't want any 1.5 JREs installed on this machine, and certainly not the JRE for Windows!
    2) Go on to launch the application using [Java Web Start|http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp] *(<- link).* JWS offers many nice features besides simply installing and running the application, including..
    - Automatic program updates.
    - Desktop integration (menu item, desktop shortcut).
    - File associations.
    - Splash screens.
    - ..and much more.
    It might be possible (I have never checked) to use step 1 above, but instead of linking to the web start launch file mentioned in step 2, to link directly to an executable Jar. If you want to distribute your software on CD, for people with no internet connection, you would include the deployJava.js on the disk and use HTML pages (also on the CD) to guide the user through launching the application.
    toyknite wrote:
    ..(And I'm not good at English, so if I hava a mistake in English please understand me with your warmth.)You seem to understand English better than many people who speak it as their native tongue. I would recommend not even mentioning it in future.

  • Can i re-distribute jre on a cd ???

    Hi,
    I have ant-based installer that uses JRE to run. I want to ship this in a CD. To make life easier for the end user, I would like to ship JRE in the CD as well. I just want to know that is it LEGAL to ship JRE for an installer that is suppose to run on windows platform.
    I did some research and saw this:
    http://www.java.com/en/download/license.jspBut being a programmer and not a legal guy, I couldn't exactly understand some legal terminology there. So, I would appreciate if someone can please tell me that is it legal to re-distribute JRE on a cd for a installer being used for a commercial product.
    Thanks
    P.S: I didn't find any other forum that discusses this topic,so I had to place it here.

    Hi,
    I have ant-based installer that uses JRE to run. I
    want to ship this in a CD. To make life easier for
    the end user, I would like to ship JRE in the CD as
    well. I just want to know that is it LEGAL to ship
    JRE for an installer that is suppose to run on
    windows platform.
    I did some research and saw this:
    http://www.java.com/en/download/license.jspBut being a programmer and not a legal guy, I
    couldn't exactly understand some legal terminology
    there. So, I would appreciate if someone can please
    tell me that is it legal to re-distribute JRE on a cd
    for a installer being used for a commercial product.
    Thanks
    P.S: I didn't find any other forum that discusses
    this topic,so I had to place it here.This seems to be something that you are fairly concerned with. In that case I suggest that you speak to someone who has a legal background, and more importantly someone you can use should you actually run into legal battles. Nothing anyone here says would cover you in the case of a legal battle. I believe you can get information about this from the eff (not sure weather or not that is accutrate though, so if someone else has more information please correct me).

  • Distributing JRE with Java Swing Game

    I am developing some game using java swing. With the games I
    need to ship JRE because each user does not have JRE..
    So is there any other other solution.

    I forgot the name, but there is a very nice Installer tool that allows you to bundle your program with a JRE. Search the news groups.

  • Attn: Sun. Can we distribute the JRE with a program we write?

    I'm trying to find out whether it's legal to distribute the JRE with a program I write. If you look at the license agreement when you download the JRE, first it has the regular license agreement, which says that you can't. But then it has the "supplemental" license agreement (and it says that this "modifies" the regular license agreement). In section 2 of the supplemental license agreement, it quite clearly states that you can as long as you don't modify it and you include some little messages in your documentation.
    So I'm hoping to get an answer from someone who actually works for Sun. It seems pretty clear to me that we ARE allowed to distribute the JRE with a program, but people keep sending me emails when I tell them about it - saying things like "You can't program in Java because you can't distribute it."
    What I want to do is have an installation program that installs my game and then installs Java (with Sun's JRE installer - this is included ONLY so that it can run my game, as stated in the supplemental license agreement). I should also mention that I do actually intend to SELL this program, so if that's a problem, please say so. Anyways, could someone from Sun tell me whether this is allowed or not? I don't want to break the law.
    - Steve Fletcher

    The JRE includes a readme file that explicitly states that distribution is permissible, given certain conditions. In particular, look at the 1st paragraph below:
    Reproduced here:
    README
    Java(TM) 2 Runtime Environment, Standard Edition
    Version 1.4.1
    The Java(TM) 2 Runtime Environment is intended for software developers
    and vendors to redistribute with their applications.
    The Java 2 Runtime Environment contains the Java virtual machine,
    runtime class libraries, and Java application launcher that are
    necessary to run programs written in the Java programming language.
    It is not a development environment and does not contain development
    tools such as compilers or debuggers. For development tools, see the
    Java 2 SDK, Standard Edition.
    =======================================================================
    Deploying Applications with the Java 2 Runtime Environment
    =======================================================================
    When you deploy an application written in the Java programming
    language, your software bundle will probably consist of the following
    parts:
    Your own class, resource, and data files.
    A runtime environment.
    An installation procedure or program.
    You already have the first part, of course. The remainder of this
    document covers the other two parts. See also the Notes for Developers
    page on the Java Software website:
    http://java.sun.com/j2se/1.4.1/runtime.html
    Runtime Environment
    To run your application, a user needs the Java 2 Runtime Environment,
    which is freely available from Sun for application developers to
    redistribute.
    The final step in the deployment process occurs when the software is
    installed on individual user system. Installation consists of copying
    software onto the user's system, then configuring the user's system
    to support that software. You should ensure that your installation
    procedure does not overwrite existing JRE installations, as they may
    be required by other applications.
    =======================================================================
    Redistribution of the Java 2 Runtime Environment
    =======================================================================
    The term "vendors" used here refers to licensees, developers, and
    independent software vendors (ISVs) who license and distribute the
    Java 2 Runtime Environment with their programs.
    Vendors must follow the terms of the Java 2 Runtime Environment Binary
    Code License agreement.
    Required vs. Optional Files
    The files that make up the Java 2 Runtime Environment are divided into
    two categories: required and optional. Optional files may be excluded
    from redistributions of the Java 2 Runtime Environment at the
    licensee's discretion.
    The following section contains a list of the files and directories that
    may optionally be omitted from redistributions with the Java 2 Runtime
    Environment. All files not in these lists of optional files must be
    included in redistributions of the runtime environment.
    Optional Files and Directories
    The following files may be optionally excluded from redistributions:
    lib/charsets.jar
    Character conversion classes
    jre/lib/ext/
    sunjce_provider.jar - the SunJCE provider for Java
    Cryptography APIs
    localedata.jar - contains many of the resources
    needed for non US English locales
    ldapsec.jar - contains security features supported
    by the LDAP service provider
    dnsns.jar - for the InetAddress wrapper of JNDI DNS provider
    bin/rmid
    Java RMI Activation System Daemon
    bin/rmiregistry
    Java Remote Object Registry
    bin/tnameserv
    Java IDL Name Server
    bin/keytool
    Key and Certificate Management Tool
    bin/kinit and jre/bin/kinit
    Used to obtain and cache Kerberos ticket-granting tickets
    bin/klist and jre/bin/klist
    Kerberos display entries in credentials cache and keytab
    bin/ktab and jre/bin/ktab
    Kerberos key table manager
    bin/policytool
    Policy File Creation and Management Tool
    bin/orbd
    Object Request Broker Daemon
    bin/servertool
    Java IDL Server Tool
    In addition, the Java Web Start product may be excluded from
    redistributions. Depending on the platform, the Java Web Start
    product is contained in a file named as follows. The actual
    product version number would replace the <version number> notation.
    javaws-<version number>-solaris-sparc-i.zip
    javaws-<version number>-solaris-i586-i.zip
    javaws-<version number>-linux-i586-i.zip
    javaws-<version number>-windows-i586-i.exe
    Redistribution of Java 2 SDK Files
    The limited set of files from the SDK listed below may be included in
    vendor redistributions of the Java 2 Runtime Environment. All paths
    are relative to the top-level directory of the SDK.
    - jre/lib/cmm/PYCC.pf
    Color profile. This file is required only if one wishes to
    convert between the PYCC color space and another color space.
    - All .ttf font files in the jre/lib/fonts directory. Note that the
    LucidaSansRegular.ttf font is already contained in the Java 2
    Runtime Environment, so there is no need to bring that file over
    from the SDK.
    - jre/lib/audio/soundbank.gm
    This MIDI soundbank is present in the Java 2 SDK, but it has
    been removed from the Java 2 Runtime Environment in order to
    reduce the size of the Runtime Environment's download bundle.
    However, a soundbank file is necessary for MIDI playback, and
    therefore the SDK's soundbank.gm file may be included in
    redistributions of the Runtime Environment at the vendor's
    discretion. Several versions of enhanced MIDI soundbanks are
    available from the Java Sound web site:
    http://java.sun.com/products/java-media/sound/
    These alternative soundbanks may be included in redistributions
    of the Java 2 Runtime Environment.
    - The javac bytecode compiler, consisting of the following files:
    bin/javac [Solaris(TM) Operating Environment
                                 and Linux]
    bin/sparcv9/javac [Solaris Operating Environment
                                 (SPARC(TM) Platform Edition)]
    bin/javac.exe [Microsoft Windows]
    lib/tools.jar [All platforms]
    - jre\bin\server\
    On Microsoft Windows platforms, the Java 2 SDK includes both
    the Java HotSpot Server VM and Java HotSpot Client VM. However,
    the Java 2 Runtime Environment for Microsoft Windows platforms
    includes only the Java HotSpot Client VM. Those wishing to use
    the Java HotSpot Server VM with the Java 2 Runtime Environment
    may copy the SDK's jre\bin\server folder to a bin\server
    directory in the Java Runtime Environment. Software vendors may
    redistribute the Java HotSpot Server VM with their
    redistributions of the Java Runtime Environment.
    Unlimited Strength Java Cryptography Extension
    Due to import control restrictions for some countries, the Java
    Cryptography Extension (JCE) policy files shipped with the Java 2 SDK,
    Standard Edition and the Java 2 Runtime Environment allow strong but
    limited cryptography to be used. These files are located at:
    <java-home>/lib/security/local_policy.jar
    <java-home>lib/security/US_export_policy.jar
    where <java-home> is the jre directory of the Java 2 SDK or the
    top-level directory of the Java 2 Runtime Environment.
    An unlimited strength version of these files indicating no restrictions
    on cryptographic strengths is available on the Java 2 SDK web site for
    those living in eligible countries. Those living in eligible countries
    may download the unlimited strength version and replace the strong
    cryptography jar files with the unlimited strength files.
    Endorsed Standards Override Mechanism
    An endorsed standard is a Java API defined through a standards
    process other than the Java Community Process(SM) (JCP(SM)). Because
    endorsed standards are defined outside the JCP, it is anticipated that
    such standards will be revised between releases of the Java 2
    Platform. In order to take advantage of new revisions to endorsed
    standards, developers and software vendors may use the Endorsed
    Standards Override Mechanism to provide newer versions of an endorsed
    standard than those included in the Java 2 Platform as released by Sun
    Microsystems.
    For more information on the Endorsed Standards Override Mechanism,
    including the list of platform packages that it may be used to
    override, see
    http://java.sun.com/j2se/1.4.1/docs/guide/standards/
    Classes in the packages listed on that web page may be replaced only
    by classes implementing a more recent version of the API as defined
    by the appropriate standards body.
    In addition to the packages listed in the document at the above
    URL, which are part of the Java 2 Platform, Standard Edition
    (J2SE(TM)) specification, redistributors of Sun's J2SE
    Reference Implementation are allowed to override classes whose
    sole purpose is to implement the functionality provided by
    public APIs defined in these Endorsed Standards packages.
    Redistributors may also override classes in the org.w3c.dom.*
    packages, or other classes whose sole purpose is to implement
    these APIs.
    Copyright 2003 Sun Microsystems, Inc., 4150 Network Circle,
    Santa Clara, California 95054, U.S.A. All rights reserved

  • Reduce JRE size

    It's unbelievable that Sun does not accept to reduce rt.jar in the standard JRE (see licence agreements).
    And the reality is : a very FEW people does have the JRE installed.
    So when we have to deploy an application, we have to bundle the JRE with it. I've done it. My application was ~1Mo and with the JRE, it's about 30 Mo !!!
    I don't have any solution. I will have to abandon Java technology and to refactor all my code into another language such as C#.
    Sun choice to include more and more stuff in JRE is stupid and irresponsible (especially the fonts!). It would be so simple to cut it into atomic pieces... pffff
    For example, I don't need and I don't WANT to distribute Swing classes.
    Maybe someone knows an alternate runtime environment ? maybe IBM ? I didn't find anyone.
    Please... and thanks
    David

    You're correct in most of what you say
    But C# download is bigger that jvm, 25 mb vs 15 mb (for my XP Pro). And the JRE can be smaller with the allowable exclusions. If you don't compress your distributed JRE, it will be larger - jar/compress it and take a look at the Pack200 enhancement in 1.5 to minimize the size. I'v heard of the (legally) stripped JRE being less that 10 mb, compressed.
    And Dell , HP, Acer, Gateway, Samsung, Toshiba and Tsinghua Tongfang (as of late 2003) were shipping Java - see http://news.com.com/Sun:+More+PC+makers+warm+to+Java/2100-1012_3-5080518.html

  • Compress JRE 1.4.2_03 to less than 5Mb

    I've done some JRE compression experiments using free 7-zip file archiver (www.7-zip.org) and new Pack200 packer from JDK 1.5 beta (http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/pack200.html).
    I took the standard JRE 1.4.2_03 folder and compressed with Pack200 format the next jar files:
    jre\lib\applet\WMPNS.jar
    jre\lib\charsets.jar
    jre\lib\ext\dnsns.jar
    jre\lib\ext\ldapsec.jar
    jre\lib\ext\localedata.jar
    jre\lib\ext\sunjce_provider.jar
    jre\lib\im\indicim.jar
    jre\lib\im\thaiim.jar
    jre\lib\jce.jar
    jre\lib\jsse.jar
    jre\lib\plugin.jar
    jre\lib\rt.jar
    jre\lib\sunrsasign.jar
    The Pack200 properties were the next:
    Pack200 packer = new Pack200();
    Map p = packer.getProperties();
    p.put(Pack200.PACK_EFFORT, "9");
    p.put(Pack200.PACK_KEEP_FILE_ORDER, Pack200.FALSE);
    p.put(Pack200.PACK_MODIFICATION_TIME, Pack200.LATEST);
    p.put(Pack200.PACK_DEFLATE_HINT, Pack200.FALSE);
    p.put(Pack200.PACK_STRIP_DEBUG, Pack200.FALSE);
    p.put(Pack200.PACK_UNKNOWN_ATTRIBUTE, Pack200.ERROR);
    Then I archived JRE folder by 7-zip application using LZMA ultra compression mode (vocabulary size 32Mb, word size 128). The result size was 7362457 bytes or 7,02Mb.
    After that I removed the next files (as I understand they can be removed from JRE distrib):
    bin\keytool.exe
    bin\kinit.exe
    bin\klist.exe
    bin\ktab.exe
    bin\orbd.exe
    bin\policytool.exe
    bin\rmid.exe
    bin\rmiregistry.exe
    bin\servertool.exe
    bin\tnameserv.exe
    lib\audio\soundbank.gm
    lib\cmm\PYCC.pf
    lib\ext\dnsns.jar
    lib\ext\ldapsec.jar
    lib\ext\localedata.jar
    lib\ext\sunjce_provider.jar
    lib\font\LucidaBrightDemiBold.ttf
    lib\font\LucidaBrightDemiItalic.ttf
    lib\font\LucidaBrightItalic.ttf
    lib\font\LucidaBrightRegular.ttf
    lib\font\LucidaSansDemiBold.ttf
    lib\font\LucidaSansRegular.ttf
    lib\font\LucidaTypewriterBold.ttf
    lib\font\LucidaTypewriterRegular.ttf
    lib\charsets.jar
    The new size became 4841096 bytes or 4,61Mb!
    Of course, today such JRE compression way is inapplicable (we don't have standalone Pack200 unpacker - but it's included to JDK 1.5 as native library "bin\unpack.dll"), BUT this experiment demonstrated the REAL achievable JRE installation size. And I'm sure that if we have such distributable JRE pack, then java-based desktop applications will more popular and guys from SUN should pay more attention to such possibilities.

    Dear All,
    As per the following link, there are pack200.exe and unpack200.exe. I believe it is not available in JRE1.5 Beta.
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/pack200.html#pack200_compression
    Can we download it from somewhere? Because I want to compress my jars (built using jre1.4.2) and my application needs jre1.4.2.
    I could not use jre1.5 beta since my application will work perfectly on jre1.4.2.
    Is there any way to achieve this?
    Thanks for your help.
    regards,
    MSKumar

  • Problem with local JRE, any ideas?

    Hi,
    I'm using exe4j to create a .exe from a java project. I'm distributing a local JRE in the program folder. Which works on windows XP and Vista. But I don't get it to work in windows 7 (the program don't start).
    If I remove the local jre and install java. It works in win7.
    Any ideas why my local distributed jre won't work in windows 7?
    Best Regards,
    Daniel Andersson
    Software: www.seeninadream.net/soft
    Books: www.seeninadream.net (In Swedish)

    what version is the local JRE?

  • Java for commercial applications

    I'm looking into distributing a Java application but I'm uncertain on a few things.
    1) Is it possible, or indeed legal, to distribute the JRE with my application.
    2) Does the JRE automatically recognise .jar files as files which should be executed, my lovely version of windows liked to specify it as a winrar application and hence show it in some sort of explorer window if I remember correctly, obviously I manually changed that, but I can't expect my users to.
    Please offer some advice on this matter
    Craig

    I'm looking into distributing a Java application but
    I'm uncertain on a few things.
    1) Is it possible, or indeed legal, to distribute the
    JRE with my application.You'll find out if you read the Terms and Conditions. You should read it yourself if you're interested in the legal issues.
    2) Does the JRE automatically recognise .jar files as
    files which should be executed, my lovely version of
    windows liked to specify it as a winrar application
    and hence show it in some sort of explorer window if
    I remember correctly, obviously I manually changed
    that, but I can't expect my users to.Yes, the JVM does associate JARs with itself upon installation on Windows. That WinRAR came and overwrote that setting is not Windows' fault.

  • So I want to create my own IRC client...

    I've wanted to make my own IRC client for a long time now. As soon as I switched from winfailure a few months ago (I think nearly a year now! ), actually.
    As time went by I've slowly, begrudgingly gotten used to irssi, but with gritted teeth all the same. On winfailure, I used HydraIRC, and while this application was quite good, its supposedly open source license wasn't free as in free speech, only as in free beer. So while the code was open, it was only opened such that the code couldn't be used in other projects. Stab.
    Anyway, I used this client for the better part of a year, and while it lacked quite a few things that would have probably turned others away like the complete lack of a scripting engine, it did what I wanted pretty well, and set an operational standard, if you will, that I got used to and have not found anywhere else. Yet.
    So I want to recreate the standard I picked up on but for POSIX platforms (except for cygwin), and introduce some features of my own too. I simply don't know where to start, however.
    Note that the subject says "create", not "write" - after asking around a bit in IRC ##linux recommended I try taking two IRC clients that have the features I want and merging their codebases. I've never done something like this before but I think it'd probably be fairly interesting, if not trying.
    So, I'll list the features I'm looking for, and perhaps you can give me some suggestions on 1) how I'd either implement this myself or 2) a client with X feature already coded in. Thanks.
    The features I'm looking for:
    - Code Simplicity: This is the most important, to me, in the case of using others' code. Complex code (just look at rxvt if you want complex code) will just confuse and down-hearten me and make me run away.
    - A network-oriented model: I want a client with a daemon, or server, that connects to my networks and performs most "heavyweight" takes, and a client, which just handles display. Quassel does this to an extent but is horribly underdeveloped and I don't have a system powerful enough to handle running Qt on a long-term basis (since I already tend to use GTK apps). I also don't know C++.
    - Multiple clients: This is the second most important. I really need this one. I want to be able to have a "main" client that can connect to the server and manage general tasks, and a "light" text-based, console-driven client that connects and can be run over ssh, for example. Quassel completely falls apart here because it uses KDE's network-IPC libraries to transfer data from the server to the client, which a quick check with Wireshark showed to be binary. And I wouldn't want my "lite" client to require KDE, or at least KDE's libraries - that'd just be majorly weird.
    - Speed: I want the client to be fast and responsive at all times, even on slower systems, and even when I'm connected to a lot of channels.
    - Scriptability: It doesn't need to be complex, like Perl's library that applications can bind in. That's overmuch IMHO and, most importantly, slow.
    I don't think one particular client meets those needs, but a few of you will probably shout "xchat!" Well, X-Chat is... not my thing. If irssi could be considered very far away from HydraIRC in terms of operation, X-Chat is the same distance away twice over. It doesn't operate the same way at all.
    So, now that I've loosely explained the features I want, let me now explain another thing I want to be able to do.
    Despite having hardware in dire need of upgrading right now (these systems aren't nearly that bad, but Firefox tends to eat my 512MB of RAM up pretty quickly, and I recently found all the PCs this house has in it 99% likely can't use DDR2 RAM, which isn't too good), I hope and believe that one day I'll upgrade to considerably better equipment with extensive graphics support. With this newer hardware I hope to create a new kind of UI model with animation integrated into the look-and-feel model of the UI the same way images are used for the same purpose today, GPLv3 license it so corporations can't steal it and use it in their products, and then bind it into my IRC client.
    However, I want to start now, before I upgrade. With this in mind, I don't know whether I should make my own GUI toolkit, or use an existing toolkit now and rewrite half the codebase later to support my own graphics and animations. I'm not very good at making things that are programmatically extensible and flexible, so I don't really know what to do here. Simple hand-rolled toolkits such as dialogs with some text and a button can be managed in under ~250 lines of code, but anything bigger, and, well... you get stuff like GTK and KDE, whose toolkit libraries in total are both on the order of over a couple of MBs each, and have been in development for years, and continue to evolve rapidly today. If you're careful, you end up with FLTK, which I don't like the look of at all.
    In addition to that, I want my client to be fast, even on slower computers. Right now, I have a 3-screen setup, with each screen being driven by a separate PC. The one on the right - the one I'd be putting my IRC client on - is a 450MHz P3 with 320MB of RAM. It runs X on a 4MB VGA card at 800x600. This is where I currently run an irssi session over ssh and screen. To give you an idea of the graphical power of this machine, antialiased Xft fonts with urxvt take 0.15 seconds to "scroll" when I say something in IRC. However, it's a capable PC if I harness its capability right, and is where I'd target my IRC client. And I dislike seeing my fonts redraw - I dislike seeing anything redraw, for that matter.
    You might think I'm crazy, writing an IRC client for one of the slowest PCs in the house that works, that I in future want to extend to use a graphics layer that I hope to develop on a server-class Nehalem workstation with an insane amount of RAM and a pair of SLI'd GTX 280s in it.
    I don't think I'm crazy. I'm using what I have to give back to the open source community, and using what I consider to be an cunning operational model to do it: back when the 450MHz P3 I spoke of was the only "main" working PC I had, I designed, in none other than Visual Basic 1.0, a media center UI. On Windows 98. In 2006. And, you know what, despite the fact that the animations it used were pretty basic, it actually looked really, really good. And why was this? Because I used software designed for 486DX2s running at 33MHz with 4 or 6MB of RAM, on a P3, with 128MB of RAM (yes, I've upgraded it since), clocked at 450MHz. The result? Blinding, optimized, speed. You really should try the older versions of VB sometime - I managed to score a copy of VB 2.0 which is legal to distribute because its "Make EXE" (ie compile) function is crippled. Email me and I'll mail you a copy - it's completely legal.
    In the same manner, if I design this IRC client and carefully construct it so its client/server model works capably on my two PCs, my server (a machine not unlike the P3 I've been discussing - my server just has more hard disks in it, a 50MHz faster processor, runs my left-hand display and my IRC network) and my old desktop (the 450MHz box I've mentioned so much), when I finally bring it over to my new computer it'll be so fast that it'll be as if the computer is registering keypresses before I even type them. And that's the kind of performance I want to couple with shinyyy graphics.
    Sorry this sounded halfway between a motivational speech, a request for help, and a coder's dilemma. lol
    -dav7

    Bit of an update: Varreon emailed me regarding VB 2.0 and we had a bit of a discussion regarding the language I planned to use.
    He said it would be fine to post our conversation, so here's how it panned out:
    Varreon wrote:...What language were you planning on writing your client in? I've written an irc bot in c++, and I'll upload my source code if you're interested in looking through it.
    dav7 wrote:
    Well, I'm not all that sure what language I want to use just yet.
    I know I want it to be extensible, so I could either use a high-level, extensible but slow scripting language to power the client as a whole, or I could go down a path already travelled, proved extremely successful and in my opinion cleaner, and embed a scripting language, which would negate the requirement for a high-level language but still facilitate customization.
    All the same, I'm not really all that sure what language to use.
    C++ isn't really my thing - on my current computers, g++ takes maybe 3 seconds to compile the smallest of source files, and while that isn't *really * all that long, I'm not all that patient. As it stands I consider /gcc/ too slow for my preferences and use tcc instead - you might like to try it if you're on a 32-bit system.
    I'll probably move to C++ when I get a new PC, but for now, all I really find fast enough for my liking is C, and I'm a little concerned that C might be a little too low-level for what I want to design here - beyond scriptability, I want the client itself to be easily extended in various directions. Of course the client will only appeal to a specific market (in an open source sense), but I do want it to feel organic and something that can be extended in as many directions as possible. So C probably won't be the language I use, and since C++ is slow to compile, it's probably going to be off the list as well.
    All the same, I'm not concerned about speed in the irrational way I have been in the past, but at the same time I do need to be careful in my thinking regardless of the language I use since don't want a client that lags to death. A good example of a slow program is SciTE - the text editor I'm typing this in, Geany, uses the same edit control it uses (Scintilla, which is written in C++, AFAIK), and while this component has a good degree of editorial control, scrolling with the scroll wheel can be slow. Also, when I recently tried to run SciTE on an old laptop I found on the side of the road (AMD K-6, 350MHz, 32MB RAM), I discovered that just *typing* would lag the system horribly - typing about 15 keystrokes quickly resulted in a lag of about 6 seconds after which what I typed would appear all at once. Typing single keys - slowly - resulted in a delay of around 0.20-0.39ms (guessed).
    Regarding scripting, I had my eyes on one embeddable language in particular but I forgot what it was called, so I headed to Wikipedia for a quick hunt-down session for it and managed to discover Falcon, which appears to use a VM but is at the same time the same insanely fast because it uses a C/C++-only policy for its modules. It also advertises itself as a scripting engine "ready to empower mission-critical multithreaded applications" so I'm considering Falcon to be a possible engine to integrate, and on a slightly long shot, even the language I might end up using. I also think hunting the first language I considered down and embedding that might be a nice idea, and I also might embed Perl. I'd love to be able to embed Ruby.
    Overall however, I do need to contain my enthusiasm - the desire to throw in multiple scripting engines, awe-inspiring compositing graphics layers, and support for multiple protocols isn't such a bad idea, but if not controlled will result in serious featuritis, which when combined with a verbose, low-level language will only result in me throwing myself at the project too hard "to get it done", with proven disastrous results.
    -dav7
    [ Note, there's an update in a follow-up post below this one that affects the information you see here - just so you know ]
    I've done some consideration since that email and it's possible that C++ might be able to be brought onto the table. This was mostly inspired by the good outcome I had with writing a couple of modules for InspIRCd, which uses C++, compared to my previous attempt when I knew no C.
    The main thing I'm a little indecisive about at the moment is the toolkit; I want something that's fast but doesn't look all that bad; FLTK is, as I've said previously, not something I like the look of - it does appear to be somewhat themable but it's impossible to escape the fact that it values speed over shininess, and while this is excellent for my current target, I don't want to develop something that relies on it so heavily that it's next to impossible to port to whatever I end up using when it's time to get the graphics in, such as a UI model on top of an OpenGL canvas.
    The second thing I'm unsure of is what scripting language I should use. I've done quite a bit of looking around - mostly to try and find that language I mentioned that I lost - and found quite a lot of possibilities, and even discovered that with some work (well, a lot of work, admittedly) it's even possible to embed Ruby into C++, and have Ruby call user-defined C++ functions and so on. It's not an official part of the project, but someone managed it nonetheless.
    It seems to be possible to embed popular languages such as Perl, Python, Tcl, Lua, etc, but then there are lesser-known languages designed for embedding, such as Nesla, AngelScript and the like (such as that language I can't find, heh). And of course I could also embed a JavaScript engine, which would probably be very odd but all the same quite an experience.
    Then there's Falcon, which appears to be a pretty good language in general but doesn't appear to have all that many modules available for it just yet, so doesn't seem to suit my purposes.
    So, summing up:
    - I don't know how I should develop this in terms of graphics - should I wait for a new PC and just use SDL or whatever I'm going to use, use a toolkit and either rewrite half of everything at some other point or juggle two display methods, or what?
    - The number of scripting languages out there is mind-boggling. To me, it's not what syntax the language uses, or whether it's statically or dynamically typed, or how readable it is, it's #1 how fast it is, and #2 how suitable it would be in the context of an IRC client - string manipulation (even on every incoming and/or outgoing message), user interface control, and so on.
    -dav7
    Last edited by dav7 (2009-02-16 09:25:49)

  • Client.ole2 is not working

    Hi i'm migrating to from fomrs 4.5 to 10g as DDE package are not supported in the
    10g. i'm using client.ole2
    I have written following code to open a stored excel sheet(which is a template for entering the data). this is not working not giving any error.
    please tell me where is the error
    declare
    application client_ole2.obj_type;
    workbooks client_OLE2.OBJ_TYPE;
    workbook client_OLE2.OBJ_TYPE;
    worksheets client_OLE2.OBJ_TYPE;
    worksheet client_OLE2.OBJ_TYPE;
    worksheet2 client_OLE2.OBJ_TYPE;
    worksheet3 client_OLE2.OBJ_TYPE;
    args1 client_ole2.list_type;
    L_PATH VARCHAR2(100);
    COMMAND1 VARCHAR2(5000);
    BEGIN
         l_PATH := SFN_GET_DIRECTORY_PATH('DIR0003');
    COMMAND1 := L_PATH||'\Formats\EMP_NEW_UPLOAD.xls';
    application := Client_OLE2.create_obj('Excel.Application');
    workbooks := Client_OLE2.Get_Obj_Property(application, 'Workbooks');
    args1 := Client_Ole2.create_arglist;
    Client_Ole2.add_arg(args1, 'c:\emp.xls');
    workbook := Client_Ole2.invoke_obj(workbooks, 'Open', args1);
    worksheets := Client_Ole2.get_obj_property(workbook, 'worksheets');
    CLIENT_OLE2.destroy_arglist(args1);
    CLIENT_OLE2.SET_PROPERTY(application,'Visible',1);
    CLIENT_OLE2.SET_PROPERTY(application,'DisplayAlerts',0);
    end;

    As Gerald Krieger suggests, it sounds as if you have not installed the Jacob library correctly. Most WebUtil functions, like CLIENT_GET_FILE_NAME, are included in the base 10g install -- OLE functionality, however, is not. This is because the Jacob library, which is required for OLE support, is not an Oracle product and, as such, could not legally be distributed by Oracle.
    Jacob can be downloaded from http://sourceforge.net/projects/jacob-project
    Configuring the OC4J for developing/testing OLE-enabled forms involves these steps:
    1. Download the Jacob library and extract two files -- jacob.jar & jacob.dll
    2. Place a signed copy of jacob.jar in ...\forms\java
    3. Place a copy of jacob.dll in ...\forms\webutil
    4. If you are not using Jacob 1.8, but are instead using a different version, you must edit ...\forms\server\webutil.cfg by locating the line which contains install.syslib.0.7.1=jacob.dll|94208|1.0|true and replacing 94208 with the size (in bytes) of your particular version of jacob.dll
    If these instructions are unclear, please accept my apologies and refer to the WebUtil documentation for details.
    Finally, be aware that your forms will not deploy correctly unless ...\forms\webutil.pll has been compiled. You must be connected to a WebUtil-ready database in order for webutil.pll to compile successfully.
    Hope this helps,
    Eric Adamson
    Lansing, Michigan

  • IVI Distribution Question

    Would it be legal to distribute NI's IVI engine installation package
    along with a driver, in order to make sure that users can use the
    driver? There is no licensing information included with the free IVI
    engine download, so my initial thought would be that it is okay, as long
    as it has not been changed in anyway.
    We are looking into this since, unlike VISA, IVI is not distributed with
    instrumentation hardware, and thus is only available via the web.
    Therefore we wish to make the IVI engine available to those who, as
    unlikely as it may seem, do not have web access, or who do not wish to
    go to the trouble of downloading the engine.
    Thanks,
    Scott
    P. Scott Royer III
    Software System Engineer
    Hamilton Software, Inc.

    The IVI engine is freely distributable as is all the software available for
    free download on ni.com.
    Best Regards,
    Chris Matthews
    Measurement Studio PSE
    National Instruments
    Scott Royer III wrote:
    >Would it be legal to distribute NI's IVI engine installation package>along
    with a driver, in order to make sure that users can use the>driver? There
    is no licensing information included with the free IVI>engine download, so
    my initial thought would be that it is okay, as long>as it has not been changed
    in anyway.>>We are looking into this since, unlike VISA, IVI is not distributed
    with>instrumentation hardware, and thus is only available via the web.>Therefore
    we wish to make the IVI engine available to those who, as>unlikely as it
    may seem, do not
    have web access, or who do not wish to>go to the trouble
    of downloading the engine.>>Thanks,>>Scott>>P. Scott Royer III>Software System
    Engineer>Hamilton Software, Inc.>

  • Default templates (MX2004)

    Can someone upload all of the default sample pages from Macromedia Dreamweaver MX 2004, along with the dependant files?
    Thanks!

    ssjan wrote:
    But are you saying that I can't get the templates?
    I am saying that it is unlikely people on these Forums have MX2004 on their systems.  I have it as recently as 6 weeks ago but then I decided to reformat the HD and start everything again on my system to clear all the clutter I had collected over the past 18 months.
    I have the habit of downloading lots of stuff from the web including all sorts of CMS packages and trial software.  I decided to clean everything up and start again so I now don't have MX2004.  I still have DW CS4, CS5,  and CS5.5.
    are you sure it is legal to distribute Adobe templates online?  I don't think so.  Adobe is not an Open Source Software so you can't distribute anything online unless you get it officially from their website.
    hth

  • Can't install Java silently on Win7 64 using system account

    Hi,
    I'm trying to distribute jre-6u31-windows-i586-s.exe which is 32 bit to Windows 7 64 bit PCs using SCCM. This uses the system account, it works fine on 32 bit Win 7 Pc's but the silent install fails on 64 bit. In the past we've been able to extract the msi, there's been no problem with that, but Oracle don't seem to offer this package as an msi anymore, a big disadvantage for us. I've seen several posts on the web regarding this but no solution?
    Is anyone able to help?
    Many thanks,
    Stephen

    Hello, we are experiencing the same problem here. I am trying to install the 32-bit version of java 6u31 (jre-6u31-windows-i586-s.exe) via an SCCM task sequence with the /s switch. This runs the installer as the SYSTEM account and whilst it seems to install the 64-bit version fine it fails to install the 32-bit version. I have gone so far as to follow this guide on launching a command prompt as SYSTEM
    http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/64bbf341-260a-4778-8aa8-ff53f3659101/
    then launching the jre-6u31-windows-i586-s.exe without any switches. This allows me to see the installer within the SYSTEM shell and I can see the following error after clicking "Install" at the welcome to java screen.
    *"Windows Installer"*
    *"The installation package could not be opened, verify that the package exists and you can access it or contact the application vendor to verify that it is a valid Windows Installer package"*
    I can only suspect that the installer must extract the msi file to some arbitrary location that the SYSTEM account can't see. I have tried using Universal Extractor to get hold of an MSI file to install this version of java but this so far hasn't been successful.
    If this isn't fixed soon I will be forced to try and use an older version of the JRE. Can anyone from oracle direct us to where we can get hold of an MSI file or how to work around this issue?_
    Thank you
    d4rkcell.com
    PS - It appears to install without error when ran from an administrative user account. Obviously this is no good as we are deploying to 700+ machines and really need it to work from SCCM. I am going to try and use the runas command in windows to see if this will work but I am not holding my breath.
    PPS - Runas is no good, as it requires password input and even then it doesn't seem to work very well from the SYSTEM conext.
    Edited by: 921104 on 15-Mar-2012 05:14
    Edited by: 921104 on 15-Mar-2012 05:16
    Edited by: 921104 on 15-Mar-2012 05:19

  • QuickTime chokes on audio Google Video ".avi"-eg. Pearl Jam "Life Wasted"

    QT 7.1 chokes, (Tiger w/ all updates)
    VLC and mPlayer both handle it fine.
    Suspect it is a codec incompatibility...specifically the audio which cuts in and out, in and out...., the video seems to play fine. the chunks it plays sound right...and watching system activity shows no spikes or other threads that are conflicting/stealing CPU power.
    http://video.google.com/videoplay?docid=6187666924357770983
    Pearl Jam - Life Wasted was released on Google Video, notable for being complete and free under the Creative Commons License, which allows for it to be legally copied, distributed, and shared as long as for noncommercial purposes...
    Quicksilver MP 800 Superdive & iBook 600-Combo   Mac OS X (10.4.2)  
    Quicksilver MP 800 Superdive & iBook 600-Combo   Mac OS X (10.4.2)  

    QT 7.1 chokes, (Tiger w/ all updates)
    VLC and mPlayer both handle it fine.
    Suspect it is a codec incompatibility...specifically
    the audio which cuts in and out, in and out...., the
    video seems to play fine. the chunks it plays sound
    right...and watching system activity shows no spikes
    or other threads that are conflicting/stealing CPU
    power.
    Ditto here.
    http://video.google.com/videoplay?docid=61876669243577
    70983
    Pearl Jam - Life Wasted was released on Google Video,
    notable for being complete and free under the
    Creative Commons License, which allows for it to be
    legally copied, distributed, and shared as long as
    for noncommercial purposes...
    Thanks for pointing this out. Pearl Jam deserves a nod for releasing the video under that license. They also deserve credit for bringing attention to the CCL by doing so.
    PowerBook G4 15 | Mac mini G4 | 60 GB video iPod   Mac OS X (10.4.6)  

Maybe you are looking for