You are here

JDK, Dev-C++

10 posts / 0 new
Last post
MobileDev
MobileDev's picture
Offline
Last seen: 15 years 11 months ago
Joined: 2007-02-01 14:24
JDK, Dev-C++

I don't have a home computer, so I have to rely on the computers at the library. They don't have compilers or IDEs and you can't install anything on them. When I first saw Portable Apps, I got excited because I could get around the security and run the apps from my 40GB USB hard drive without leaving anything on the computer. I can now use Fire Fox to surf the net, and GAIM to talk to my friends online, but you guys don't seem to have much for software development. Is there any way you can package either Dev-C++
(with MinGW) or the JDK as a Portable App? Dev-C++ is available from http://www.bloodshed.net/devcpp.html It is a feature rich IDE that is capable of working with 3 or 4 different compilers that don't normally come with their own graphical interfaces. It can be downloaded by itself or bundled with MinGW, a free and open source command-line compiler. The one you are looking for is Dev-C++ 4, which is the current stable release. Dev-C++ 5 (beta) still has a hand full of bugs that will probably give you a big headache if you try to modify it. Also, there is a very important file that must be downloaded to make the program create installers from finished projects (VERY handy little tool!) it would be great if you could include this file too. The direct download link (as in no page, just a download box) is on the above website. Just scroll down towards the bottom of the Dev-C++ 4 section.

The JDK, while not exactly open source, is Sun's standard no-frills collection of development tools that hobbyists (like me) use to make Java applets and applications. The latest version can be downloaded here: http://java.sun.com/javase/downloads/index.jsp

You want the first one listed. Then it takes you to a page where you can download operating system specific versions. If it really is possible to turn this into a Portable App, then you could try the version bundled with Net Beans 5.5 (a java IDE)

Another really good IDE (and compiler)is CodeBlocks. It's another feature rich IDE that is compatible with more compilers then Dev-C++ and it has more popular features. It is also rumored that it is easier to install additional libraries (like SDL and OpenGL) with CodeBlocks then with Dev-C++. It's opensource and free. You can read all about it (and download it) here: http://www.codeblocks.org

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 3 months ago
Developer
Joined: 2006-12-06 18:07
Portable Dev C++ is

Portable Dev C++ is available here:
http://www.portasoft.org/e107/download.php?view.17

They also have wxDev C++ available here:
http://www.portasoft.org/e107/download.php?view.18

The developer formerly known as ZGitRDun8705

jbbdude
Offline
Last seen: 15 years 10 months ago
Joined: 2006-12-21 21:18
What about JDK?

seems to kinda work from https://portableapps.com/node/929#comment-12228 and less so at https://portableapps.com/node/4224#comment-19380...
But couldn't a better UI be designed? And will these work with IDEs other than Eclipse or as JREs for Firefox, OpenOffice, etc?

John Bentley
John Bentley's picture
Offline
Last seen: 14 years 8 months ago
Developer
Joined: 2006-01-24 13:26
The portasoft portable

The portasoft portable devc++ portable overwrites local settings and does not delete them.

Get my version at http://sourceforge.net/projects/devcpp-portable

cowsay Moo
cowthink 'Dude, why are you staring at me.'

vexorian
Offline
Last seen: 16 years 11 months ago
Joined: 2007-01-27 12:45
codeblocks

I accomplished to make a launcher to make code::blocks pseudoportable, I will try to get some time to also make it remove added registry values.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
I have one

Actually, I might have lost it though...
----
Ryan McCue
Person 1: Oh my god. You will never believe what just happened.
Person 2: What?
Person 1: I can't remember, I've forgotten.

"If you're not part of the solution, you're part of the precipitate."

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2005-12-10 15:22
The latest,

nightlies are portable I think...

Yours

Steve Lamerton

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
Ah huh!

I knew I heard it somewhere!
----
Ryan McCue
Person 1: Oh my god. You will never believe what just happened.
Person 2: What?
Person 1: I can't remember, I've forgotten.

"If you're not part of the solution, you're part of the precipitate."

jbbdude
Offline
Last seen: 15 years 10 months ago
Joined: 2006-12-21 21:18
Portable BlueJ

Got an email a while back from the BlueJ ppl on how to make it portable... the rest of this post is the instructions I got

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

I wrote them a while back. I keep meaning to make them a
tip-of-the-week. Maybe this time.

Note: I'm not sure about the legality of this with respect to the JDK
license.

1. Copy the lib, bin and jre folders of an installed JDK onto the USB
drive, i.e. from C:\Program Files\Java\jdk1.5.0_10 to E:\jdk1.5.0_10

2. Copy the lib folder of your BlueJ installation onto the USB drive,
i.e. from C:\BlueJ to E:\BlueJ

3. Create a file bluej.bat in the root of your USB drive, containing:
start jdk1.5.0_10\bin\javaw -jar BlueJ\lib\bluej.jar
-bluej.userHome=home
The last bit forces the user's BlueJ home to be on the USB drive in
the folder "home", which will be created if necessary.

4. If you want running BlueJ to be offered as part of the USB drive's
autorun options, create a file called autorun.inf in the root of the
containing the following:
[autorun]
open=bluej.bat
icon=bluej.ico
ACTION = Launch BlueJ-on-a-Stick
You can get a copy of bluej.ico (the BlueJ icon as a Windows icon
file) from http://www.bluej.org/bluej-icons/

I've haven't been able to test this very thoroughly -- it's very hard to
find a PC without Java and BlueJ around here! If you have any problems,
please let me know.

Charles_Keisler
Charles_Keisler's picture
Offline
Last seen: 16 years 1 month ago
Joined: 2007-12-20 12:11
Great Idea but...

As technology advances so dose the java language, and the way we communicate with the IDE of our preference. I Managed to pull off a "Net Beans on-a-stick" project before but as soon as i went to the next computer i'm guessing the system registry did not recognize the JDK thus leaving net beans unusable except for on the original console. I do not know if there is any way to make a self extracting version of the JDK and net beans int one, but the .exe file would need to install a temporary system registry key every time the app is launched. At this time i'm using Notepad++ Portable for my java projects. The latest version of Net Beans, IDE 6.0 has been released, it highlights all instances of a class, variable, etc. It also "Sniffs" your code as you type and pops up with suggestions. The Full version of net beans also works with C++. It may appear that if we as the portable apss community decide to introduce Net Beans we may need to introduce several versions for compatibility dating from 5.5, 5.5.1, & 6.0.

for more info on the net beans IDE visit:
http://www.netbeans.org

Charles Keisler
00111001 01101000 01100001 01110010 01101100 01100101 01100101 01110011 00100000 01001011 01100101 01101001 01110011 01101100 01110011 01101100 01100101 01110010

Topic locked