Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-29-2010, 10:24 AM   #1
LQ Newbie
Registered: Jul 2010
Distribution: OpenSolaris, OS X
Posts: 6

Rep: Reputation: 0
Non-GNU based Getopts for Java?

Hi all,

I'm looking for a version of Getopts for Java that isn't licensed under the GPL and accepts long options (i.e. both -h and --help).
My code is licensed under BSD and I don't really want to change that just because a module uses the GPL...

Old 07-31-2010, 01:55 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Wow - most people wouldn't even CARE.

But since you obviously do ...
... remember: newer BSD licenses are entirely compatible with the GPL.

If it's still a show-stopper for you, two alternatives might be:

1. Google for other Java getopts implementations (there are several - but you're likely to find yourself in the same boat)

.. or ..

2. Simply write that subset of "getopts()" functionality that you happen to be using in your application by yourself, in your own class (and license it however you please).

'Hope that helps ..PSM
1 members found this post helpful.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Java Based Application throws "java.lang.NoClassDefFoundError" ConfigMan_08 Linux - Newbie 10 12-22-2008 05:58 PM
LXer: GNU/Linux for Christians: Kubuntu-based Ichthux Beta5 is out LXer Syndicated Linux News 2 08-27-2006 12:11 PM
java.awt.AWTError: Cannot load AWT toolkit: artemis8543 Linux - Newbie 4 05-16-2006 09:38 PM
GNU based c++ cross compiler unable to link c library k_taid Programming 1 06-29-2005 10:38 AM
Web-based apps: ActiveX/Java:Windows <--> ${???}:GNU/Linux johnMG Programming 3 12-03-2004 09:37 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration