Coder Social home page Coder Social logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Current version of Duck Encoder uses Java 1.7.0.  Proof this works is below

Links: 
http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jdk.html
http://reviews.cnet.com/8301-13727_7-57423014-263/how-to-install-and-uninstall-j
ava-7-for-os-x/


Proof:

$ /usr/bin/java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

$ java -jar encoder.jar 
Hak5 Duck Encoder 2.2

usage: duckencode -i [file ..]          encode specified file
   or: duckencode -i [file ..] -o [file ..] encode to specified file

Arguments:
   -i [file ..]         Input File
   -o [file ..]         Output File
   -l [file ..]         Keyboard Layout (us/fr/pt or a path to a properties file)

Script Commands:
   ALT [key name] (ex: ALT F4, ALT SPACE)
   CTRL | CONTROL [key name] (ex: CTRL ESC)
   CTRL-ALT [key name] (ex: CTRL-ALT DEL)
   CTRL-SHIT [key name] (ex: CTRL-SHIFT ESC)
   DEFAULT_DELAY | DEFAULTDELAY [Time in millisecond * 10] (change the delay between each command)
   DELAY [Time in millisecond * 10] (used to overide temporary the default delay)
   GUI | WINDOWS [key name] (ex: GUI r, GUI l)
   REM [anything] (used to comment your code, no obligation :) )
   SHIFT [key name] (ex: SHIFT DEL)
   STRING [any character of your layout]
   [key name] (anything in the keyboard.properties)

Original comment by [email protected] on 5 Jan 2013 at 9:48

  • Removed labels: Priority-Medium

from ducky-decode.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Alternative to running java 1.7.0, is to compile the program on Java 1.6.X

Compile the src:
$ cd ducky-decode/trunk/Encoder/v2/src
$ javavc Encoder.java
This should generate a class file, to tun the code
$ java Encoder

if it runs, the jar file in ducky-decode/trunk/Encoder/v2/ is essentially a 
zip, mv encoder.class to this dir
$ cd ducky-decode/trunk/Encoder/v2/
$ mv src/Encoder.class ./
$ zip encoder.jar Encoder.class

then run it as normal
$ java -jar encoder.jar


Original comment by [email protected] on 5 Jan 2013 at 9:54

  • Changed state: WontFix
  • Added labels: Type-Other
  • Removed labels: Type-Defect

from ducky-decode.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Thanks! Updated my JRE, and now it works!

Thank you for the in-depth replies, and keep up the good work!

Original comment by [email protected] on 6 Jan 2013 at 10:23

from ducky-decode.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.