Skip to main content



      Home
Home » Newcomers » Newcomers » how to use source code from website in your code?(i am a complete beginner in java.)
how to use source code from website in your code? [message #885475] Wed, 13 June 2012 00:33 Go to next message
Eclipse UserFriend
i am completely new to java.so i wanted to know how can i use the source code downloaded from a website in my code.
i am using the book thinking in java.
i want to import net.mindview.util.Print.*;
how can i do that in eclipse?

and i have another doubt??
can i use package access in my code?if yes,how??
Re: how to use source code from website in your code? [message #885581 is a reply to message #885475] Wed, 13 June 2012 05:26 Go to previous messageGo to next message
Eclipse UserFriend
On 13.06.2012 06:33, rishabh sharma wrote:
> i am completely new to java.so i wanted to know how can i use the
> source code downloaded from a website in my code.
> i am using the book thinking in java.
> i want to import net.mindview.util.Print.*; how can i do that in eclipse?
It depends in what form you have that source code. If it is a JAR file
then simply add this to the Java build path of your Java project. If you
have it in a directory, then import this into your Java project.

Dani
>
> and i have another doubt??
> can i use package access in my code?if yes,how??
Re: how to use source code from website in your code? [message #885739 is a reply to message #885475] Wed, 13 June 2012 10:08 Go to previous message
Eclipse UserFriend
On 6/12/2012 10:33 PM, rishabh sharma wrote:
> i am completely new to java.so i wanted to know how can i use the source
> code downloaded from a website in my code.
> i am using the book thinking in java.
> i want to import net.mindview.util.Print.*; how can i do that in eclipse?
>
> and i have another doubt??
> can i use package access in my code?if yes,how??

Here's a tutorial on how I set up Eclipse projects from book source code:

http://www.javahotchocolate.com/tutorials/corejsf.html
Previous Topic:No posting of links until you are 25
Next Topic:Eclipse problems~~~
Goto Forum:
  


Current Time: Wed Jul 16 13:30:34 EDT 2025

Powered by FUDForum. Page generated in 0.32503 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top